Sha256: 4790a9fa698f360ea0f9a69af7c1a08a904c679cdd00195a3c10f449722d751c

Contents?: true

Size: 804 Bytes

Versions: 26

Compression:

Stored size: 804 Bytes

Contents

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, 
                                "report.yml")
    MetricFu.report.save_output(MetricFu.report.to_yaml,
                                MetricFu.data_directory, 
                                "#{Time.now.strftime("%Y%m%d")}.yml")
    MetricFu.report.save_templatized_report
    
    MetricFu.graphs.each {|graph| MetricFu.graph.add(graph) }
    MetricFu.graph.generate
    
    if MetricFu.report.open_in_browser?
      MetricFu.report.show_in_browser(MetricFu.output_directory)
    end
  end
end

Version data entries

26 entries across 26 versions & 12 rubygems

Version Path
IPGlider-metric_fu-1.1.5.1.1 tasks/metric_fu.rake
IPGlider-metric_fu-1.1.5.1 tasks/metric_fu.rake
edouard-metric_fu-1.1.1 tasks/metric_fu.rake
gforces-metric_fu-1.1.4 tasks/metric_fu.rake
iain-metric_fu-0.1.0 tasks/metric_fu.rake
iain-metric_fu-0.1.1 tasks/metric_fu.rake
iain-metric_fu-0.1.2 tasks/metric_fu.rake
jscruggs-metric_fu-1.1.0 tasks/metric_fu.rake
jscruggs-metric_fu-1.1.1 tasks/metric_fu.rake
jscruggs-metric_fu-1.1.2 tasks/metric_fu.rake
jscruggs-metric_fu-1.1.3 tasks/metric_fu.rake
jscruggs-metric_fu-1.1.4 tasks/metric_fu.rake
jscruggs-metric_fu-1.1.5 tasks/metric_fu.rake
mattvanhorn-metric_fu-1.1.5.1 tasks/metric_fu.rake
mattvanhorn-metric_fu-1.1.5.2 tasks/metric_fu.rake
mtdewboy-metric_fu-1.1.5.1 tasks/metric_fu.rake
mwilden-metric_fu-1.1.1 tasks/metric_fu.rake
mwilden-metric_fu-1.1.3 tasks/metric_fu.rake
mwilden-metric_fu-1.1.5 tasks/metric_fu.rake
nielsm-metric_fu-1.1.1 tasks/metric_fu.rake