Sha256: 285364a849bc140fd4bf8e1e3541ea0d34a2a9abefaa59a6983a2c352e80eccb

Contents?: true

Size: 360 Bytes

Versions: 2

Compression:

Stored size: 360 Bytes

Contents

# encoding: UTF-8

namespace :metrics do
  namespace :yardstick do
    require 'yardstick/rake/measurement'
    require 'yardstick/rake/verify'

    options = Central::Devtools.project.yardstick.options

    if options['threshold']
      Yardstick::Rake::Measurement.new(:measure, options)
      Yardstick::Rake::Verify.new(:verify, options)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
central-devtools-0.8.4 shared/tasks/metrics/yardstick.rake
central-devtools-0.8.3 shared/tasks/metrics/yardstick.rake