Rakefile in dirge-0.0.2 vs Rakefile in dirge-0.0.3
- old
+ new
@@ -10,5 +10,20 @@
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
+
+require 'spec'
+require 'spec/rake/spectask'
+task :spec => 'spec:all'
+namespace(:spec) do
+ Spec::Rake::SpecTask.new(:all) do |t|
+ t.spec_opts ||= []
+ t.spec_opts << "-rubygems"
+ t.spec_opts << '-rlib/dirge'
+ t.spec_opts << "--options" << "spec/spec.opts"
+ t.spec_files = FileList['spec/**/*_spec.rb']
+ end
+
+end
+