Rakefile in ruby-fsevent-0.1.0 vs Rakefile in ruby-fsevent-0.2.0
- old
+ new
@@ -10,11 +10,12 @@
A native extension exposing the OS X FSEvent API. Register directories you want to watch and a callback will fire whenever a change occurs in the registered directories.
}
gem.email = "sandro.turriate@gmail.com"
gem.homepage = "http://github.com/sandro/ruby-fsevent"
gem.authors = ["Sandro Turriate"]
- gem.add_development_dependency "rspec"
+ gem.add_development_dependency "rspec", '>=1.2.8'
+ gem.require_paths = %w(lib ext)
gem.extensions << 'ext/extconf.rb'
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
@@ -34,9 +35,13 @@
end
task :spec => :check_dependencies
task :default => :spec
+
+task :make do
+ system "cd ext && ruby extconf.rb && make"
+end
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION')
version = File.read('VERSION')