forked from chipmunk-rb/chipmunk-ffi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
34 lines (32 loc) · 1.14 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
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "chipmunk-ffi"
gem.rubyforge_project = "chipmunk-ffi"
gem.summary = %Q{FFI bindings for chipmunk physics lib.}
gem.description = %Q{FFI bindings for chipmunk physics lib.}
gem.email = "shawn42@gmail.com"
gem.homepage = "http://shawn42.github.com/chipmunk-ffi"
gem.authors = ["Shawn Anderson"]
gem.add_dependency "ffi", ">= 0.6.0"
gem.add_dependency "nice-ffi"
gem.add_development_dependency "rspec"
gem.add_development_dependency "jeweler"
gem.test_files = FileList['{spec,test}/**/*.rb']
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
begin
require 'spec/rake/spectask'
desc "Run all rspecs"
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = FileList['spec/*_spec.rb']
end
task :default => :spec
rescue LoadError
puts "Rspec (or a dependency) not available. Install it with: sudo gem install rspec"
end
# vim: syntax=Ruby