Sha256: 69a754fcb5243b67c94f17ec9557f585c631d8cbdf4ee214d027484b5a72129b
Contents?: true
Size: 642 Bytes
Versions: 2
Compression:
Stored size: 642 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 and churn reports" task :all => [:coverage, :saikuro, :churn, :flog, :flay, :railroad ] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
p8-metric_fu-0.8.4.10 | lib/tasks/metric_fu.rake |
p8-metric_fu-0.8.4.9 | lib/tasks/metric_fu.rake |