Document "doc" task and use "sh" so it prints output

i18n_v4
Ben Hollis 2011-11-30 20:55:44 -08:00
parent 1b330e7a27
commit c730af108c
1 changed files with 3 additions and 3 deletions

View File

@ -7,11 +7,11 @@ 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"]
desc "Build HTML documentation"
task :doc do
`bundle exec yard`
end
sh 'bundle exec yard'
end