Sha256: 6d6ae7ef310713f0793d0fce9a0b3b3a7a87bf26d9c007ce4a6fd2bd110fbf64

Contents?: true

Size: 669 Bytes

Versions: 8

Compression:

Stored size: 669 Bytes

Contents

namespace :metrics do
  if MetricFu::RAILS

    desc "Generate coverage, cyclomatic complexity, flog, flay, railroad, reek, roodi, stats and churn reports"
    task :all => [:coverage, :stats, :saikuro, :churn, :flog, :flay, :railroad, :reek, :roodi]

    task :set_testing_env do
      RAILS_ENV = 'test'
    end

    desc "Generate metrics after migrating (for continuous integration)"
    task :all_with_migrate => [:set_testing_env, "db:migrate", :all]

  else

    desc "Generate coverage, cyclomatic complexity, flog, flay, railroad, reek, roodi and churn reports"
    task :all => [:coverage, :saikuro, :churn, :flog, :flay, :railroad, :reek, :roodi]

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
p8-metric_fu-0.8.4.1 lib/tasks/metric_fu.rake
p8-metric_fu-0.8.4.2 lib/tasks/metric_fu.rake
p8-metric_fu-0.8.4.3 lib/tasks/metric_fu.rake
p8-metric_fu-0.8.4.4 lib/tasks/metric_fu.rake
p8-metric_fu-0.8.4.5 lib/tasks/metric_fu.rake
p8-metric_fu-0.8.4.6 lib/tasks/metric_fu.rake
p8-metric_fu-0.8.4.7 lib/tasks/metric_fu.rake
p8-metric_fu-0.8.4.8 lib/tasks/metric_fu.rake