From c730af108c1721d775c520a2c0e612075d1aa93b Mon Sep 17 00:00:00 2001 From: Ben Hollis Date: Wed, 30 Nov 2011 20:55:44 -0800 Subject: [PATCH] Document "doc" task and use "sh" so it prints output --- Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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