Sha256: 302936d043f82eb298250f2eeefc1c92cd6562686f717c7ef2ebc5ec96036528

Contents?: true

Size: 745 Bytes

Versions: 18

Compression:

Stored size: 745 Bytes

Contents

begin
  # Require veritas before metric foo pulls AS
  require 'veritas'
  require 'metric_fu'
  require 'json'

  # XXX: temporary hack until metric_fu is fixed
  MetricFu::Saikuro.class_eval { include FileUtils }

  MetricFu::Configuration.run do |config|
    config.rcov = {
      :environment => 'test',
      :test_files  => %w[ spec/**/*_spec.rb ],
      :rcov_opts   => %w[
        --sort coverage
        --no-html
        --text-coverage
        --no-color
        --profile
        --exclude spec/,^/
        --include lib:spec
      ],
    }
  end
rescue LoadError
  namespace :metrics do
    task :all do
      $stderr.puts 'metric_fu is not available. In order to run metrics:all, you must: gem install metric_fu'
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
mutant-0.2.20 tasks/metrics/metric_fu.rake
mutant-0.2.17 tasks/metrics/metric_fu.rake
mutant-0.2.16 tasks/metrics/metric_fu.rake
mutant-0.2.15 tasks/metrics/metric_fu.rake
mutant-0.2.14 tasks/metrics/metric_fu.rake
mutant-0.2.13 tasks/metrics/metric_fu.rake
mutant-0.2.12 tasks/metrics/metric_fu.rake
mutant-0.2.11 tasks/metrics/metric_fu.rake
mutant-0.2.9 tasks/metrics/metric_fu.rake
mutant-0.2.8 tasks/metrics/metric_fu.rake
mutant-0.2.7 tasks/metrics/metric_fu.rake
mutant-0.2.6 tasks/metrics/metric_fu.rake
mutant-0.2.5 tasks/metrics/metric_fu.rake
mutant-0.2.4 tasks/metrics/metric_fu.rake
mutant-0.2.3 tasks/metrics/metric_fu.rake
mutant-0.2.2 tasks/metrics/metric_fu.rake
mutant-0.2.1 tasks/metrics/metric_fu.rake
mutant-0.2.0 tasks/metrics/metric_fu.rake