2010-12-24 02:18:15 +01:00
|
|
|
require 'bundler'
|
|
|
|
Bundler::GemHelper.install_tasks
|
2009-10-23 02:25:15 +02:00
|
|
|
|
2010-12-24 02:18:15 +01:00
|
|
|
require 'cucumber/rake/task'
|
2009-10-23 02:25:15 +02:00
|
|
|
|
2009-11-23 00:37:11 +01:00
|
|
|
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
|
|
|
|
t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}"
|
2009-10-23 02:25:15 +02:00
|
|
|
end
|
|
|
|
|
2011-02-05 19:32:04 +01:00
|
|
|
task :test => :cucumber
|
2011-02-11 08:14:33 +01:00
|
|
|
|
|
|
|
namespace :build do
|
|
|
|
task :docs do
|
|
|
|
`rocco lib/*.rb --output=docs`
|
|
|
|
end
|
|
|
|
end
|