Rakefile in uricp-0.0.6 vs Rakefile in uricp-0.0.7
- old
+ new
@@ -48,19 +48,27 @@
end
CUKE_RESULTS = 'results.html'
CLEAN << CUKE_RESULTS
-Cucumber::Rake::Task.new(:features) do |t|
- t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} --format pretty --no-source -x"
- t.fork = false
+namespace(:features) do
+ Cucumber::Rake::Task.new(:new_qemu) do |t|
+ t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} --format pretty --no-source -x"
+ t.fork = false
+ t.profile = 'new-qemu-image'
+ end
+ Cucumber::Rake::Task.new(:old_qemu) do |t|
+ t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} --format pretty --no-source -x"
+ t.fork = false
+ t.profile = 'old-qemu-image'
+ end
end
Rake::RDocTask.new do |rd|
rd.main = "README.rdoc"
rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
end
-task :default => [:spec,:features]
+task :default => [:spec,"features:new_qemu"]