middleman/Rakefile
Thomas Reynolds 46ddfe747f Tweak docs
2011-11-29 23:43:01 -08:00

17 lines
409 B
Ruby

require 'bundler'
Bundler::GemHelper.install_tasks :name => ENV["NAME"] || "middleman"
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
require 'rake/testtask'
require 'rake/clean'
task :test => ["cucumber"]
task :doc do
`bundle exec yard`
end