forked from hparra/ruby-serialport
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
24 lines (22 loc) · 891 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "serialport"
gemspec.summary = "Library for using RS-232 serial ports."
gemspec.description = "Ruby/SerialPort is a Ruby library that provides a class for using RS-232 serial ports."
gemspec.email = "[email protected]"
gemspec.homepage = 'http://github.com/tomstokes/ruby-serialport/'
gemspec.authors = ['Guillaume Pierronnet', 'Alan Stern', 'Daniel E. Shipton', 'Tobin Richard', 'Hector Parra', 'Ryan C. Payne', 'Tom Stokes']
gemspec.has_rdoc = true
gemspec.extensions << 'ext/native/extconf.rb'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org"
end
task :clean do
rm_rf(Dir['doc'], :verbose => true)
rm_rf(Dir['pkg'], :verbose => true)
end