1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/Rakefile

18 lines
421 B
Ruby
Raw Normal View History

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"
2010-12-23 20:18:15 -05:00
require 'cucumber/rake/task'
2009-11-22 18:37:11 -05: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 00:02:00 -05:00
require 'rake/clean'
2011-11-30 02:43:01 -05:00
task :test => ["cucumber"]
desc "Build HTML documentation"
2011-11-30 02:43:01 -05:00
task :doc do
sh 'bundle exec yard'
end