Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Print out the yard coverage info (including warnings) even when the t…

…ask passes.
  • Loading branch information...
commit c0836b65e583d853b43db35da9e3db00833d7070 1 parent 3193708
@myronmarston authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -26,10 +26,10 @@ task :default => [:spec, :cucumber]
desc "Ensures we keep up 100% YARD coverage"
task :yard_coverage do
coverage_stats = `yard stats --list-undoc 2>&1`
+ puts coverage_stats
if coverage_stats.include?('100.00% documented')
- puts "Nice work! 100% documentation coverage"
+ puts "\nNice work! 100% documentation coverage"
else
- puts coverage_stats
raise "Documentation coverage is less than 100%"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.