2010-12-23 20:18:15 -05:00
|
|
|
require 'bundler'
|
2011-09-09 14:14:34 -04:00
|
|
|
Bundler::GemHelper.install_tasks :name => ENV["NAME"] || "middleman"
|
2009-10-22 20:25:15 -04:00
|
|
|
|
2010-12-23 20:18:15 -05:00
|
|
|
require 'cucumber/rake/task'
|
2009-10-22 20:25:15 -04:00
|
|
|
|
2009-11-22 18:37:11 -05:00
|
|
|
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
|
2011-07-13 03:38:04 -04:00
|
|
|
t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}"
|
2009-10-22 20:25:15 -04:00
|
|
|
end
|
|
|
|
|
2011-02-13 00:02:00 -05:00
|
|
|
#$LOAD_PATH.unshift 'lib'
|
|
|
|
|
|
|
|
require 'rake/testtask'
|
|
|
|
require 'rake/clean'
|
|
|
|
|
2011-07-27 15:55:58 -04:00
|
|
|
task :test => ["cucumber"]
|