Permalink
Browse files

remove the need to add a configure block if we're not changing the de…

…faults

Signed-off-by: Jake Scruggs <jake.scruggs@gmail.com>
  • Loading branch information...
Matthew Gordon authored and jscruggs committed May 1, 2009
1 parent 1a9fcb8 commit 25eeb01e63fac1496726c648ec9d2b3e9f97bbc9
Showing with 2 additions and 1 deletion.
  1. +2 −1 tasks/metric_fu.rake
View
@@ -2,6 +2,7 @@ require 'rake'
namespace :metrics do
desc "Generate all metrics reports"
task :all do
+ MetricFu::Configuration.run {}
MetricFu.metrics.each {|metric| MetricFu.report.add(metric) }
MetricFu.report.save_output(MetricFu.report.to_yaml,
MetricFu.base_directory,
@@ -11,4 +12,4 @@ namespace :metrics do
MetricFu.report.show_in_browser(MetricFu.output_directory)
end
end
-end
+end

0 comments on commit 25eeb01

Please sign in to comment.