middleman/Rakefile

15 lines
361 B
Ruby
Raw Normal View History

2010-12-24 02:18:15 +01:00
require 'bundler'
Bundler::GemHelper.install_tasks
2010-12-24 02:18:15 +01:00
require 'cucumber/rake/task'
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'}"
end
2011-02-13 06:02:00 +01:00
#$LOAD_PATH.unshift 'lib'
require 'rake/testtask'
require 'rake/clean'
task :test => ["cucumber"]