diff --git a/Rakefile b/Rakefile index 08de0540..0be3d96c 100644 --- a/Rakefile +++ b/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'}" end -require 'rake/testtask' require 'rake/clean' task :test => ["cucumber"] +desc "Build HTML documentation" task :doc do - `bundle exec yard` -end \ No newline at end of file + sh 'bundle exec yard' +end