16 lines
No EOL
367 B
Ruby
16 lines
No EOL
367 B
Ruby
require 'bundler'
|
|
Bundler::GemHelper.install_tasks
|
|
|
|
require 'cucumber/rake/task'
|
|
|
|
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
|
|
t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}"
|
|
end
|
|
|
|
task :test => :cucumber
|
|
|
|
namespace :build do
|
|
task :docs do
|
|
`rocco lib/*.rb --output=docs`
|
|
end
|
|
end |