Sha256: 933e7dd78773a119d2523dd9156dbd592204179dd1cc528d3476bcd0d1ec0406
Contents?: true
Size: 508 Bytes
Versions: 23
Compression:
Stored size: 508 Bytes
Contents
namespace :metrics do require 'flay' project = Devtools.project config = project.flay # Original code by Marty Andrews: # http://blog.martyandrews.net/2009/05/enforcing-ruby-code-quality.html desc 'Measure code duplication' task :flay do threshold = config.threshold total_score = config.total_score Devtools::Rake::Flay.call( threshold: threshold, total_score: total_score, lib_dirs: config.lib_dirs, excludes: config.excludes ) end end
Version data entries
23 entries across 23 versions & 1 rubygems