This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Moving the build message into #ready? so #grade is clean

  • Loading branch information...
1 parent ba2873b commit e3c9bbfdf9b8ddcf3a8fae4d37b9fc389ebf2258 @qrush qrush committed Jul 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/report_card/grader.rb
@@ -9,7 +9,6 @@ def initialize(project, config)
def grade
return unless ready?
- STDERR.puts ">> Building metrics for #{project.name}"
configure
generate
wrapup if success?
@@ -23,6 +22,7 @@ def wrapup
def ready?
dir = Integrity::ProjectBuilder.new(project).send(:export_directory)
if File.exist?(dir)
+ STDERR.puts ">> Building metrics for #{project.name}"
Dir.chdir dir
else
STDERR.puts ">> Skipping, directory does not exist: #{dir}"

0 comments on commit e3c9bbf

Please sign in to comment.