Sha256: f3ffe62aa26c0094eb594c05d4c55caa1ab5d0347e76993360189d4f155a3752

Contents?: true

Size: 394 Bytes

Versions: 6

Compression:

Stored size: 394 Bytes

Contents

require File.join(File.dirname(__FILE__), '../metric_fu/churn')

namespace :metrics do
  
  desc "Which files change the most"
  task :churn do
    churn_dir = File.join(MetricFu::BASE_DIRECTORY, 'churn')
    MetricFu::Churn.generate_report(churn_dir, defined?(MetricFu::CHURN_OPTIONS) ? MetricFu::CHURN_OPTIONS : {} )
    system("open #{churn_dir}/index.html") if PLATFORM['darwin']
  end
end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
factorylabs-metric_fu-0.8.0.4 lib/tasks/churn.rake
factorylabs-metric_fu-0.8.0.5 lib/tasks/churn.rake
indirect-metric_fu-0.8.1 lib/tasks/churn.rake
jayzes-metric_fu-0.8.0.1 lib/tasks/churn.rake
jayzes-metric_fu-0.8.0.2 lib/tasks/churn.rake
jayzes-metric_fu-0.8.0 lib/tasks/churn.rake