lib/tasks/metric_fu.rake in p8-metric_fu-0.9.0.4 vs lib/tasks/metric_fu.rake in p8-metric_fu-0.9.0.5
- old
+ new
@@ -1,4 +1,9 @@
+# load default settings
+[File.expand_path('~/.metric_fu')].each do |f|
+ load f if File.exist? f
+end
+
# only load configured metrics
MetricFu.metrics.each { |task| import "#{File.dirname(__FILE__)}/#{task}.rake" }
namespace :metrics do
if MetricFu.is_rails?
\ No newline at end of file