-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
48 lines (39 loc) · 1.22 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
require 'spec/rake/spectask'
task :default => :spec
Spec::Rake::SpecTask.new do |t|
t.ruby_opts = ["-rubygems"]
t.libs << 'lib'
t.warning = false
t.rcov = false
t.spec_opts = ["--colour"]
end
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION')
version = File.read('VERSION')
else
version = ""
end
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "tuio-ruby #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "tuio-ruby"
gem.summary = %Q{library to interface with TUIO protocol}
gem.email = "[email protected]"
gem.homepage = "http://github.com/aberant/tuio-ruby"
gem.authors = ["aberant"]
gem.files = FileList['Rakefile', 'examples/**/*', 'lib/**/*'].to_a
gem.test_files = FileList['spec/**/*.rb']
gem.add_dependency('osc-ruby', '>= 0.6.2')
gem.rubyforge_project = "tuio-ruby"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end