Document "doc" task and use "sh" so it prints output
This commit is contained in:
parent
1b330e7a27
commit
c730af108c
6
Rakefile
6
Rakefile
|
@ -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'}"
|
t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}"
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'rake/testtask'
|
|
||||||
require 'rake/clean'
|
require 'rake/clean'
|
||||||
|
|
||||||
task :test => ["cucumber"]
|
task :test => ["cucumber"]
|
||||||
|
|
||||||
|
desc "Build HTML documentation"
|
||||||
task :doc do
|
task :doc do
|
||||||
`bundle exec yard`
|
sh 'bundle exec yard'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue