Sha256: f52301792838993c1002bc12261c8d4060b7c35f8513d469620209b40a79d249
Contents?: true
Size: 697 Bytes
Versions: 22
Compression:
Stored size: 697 Bytes
Contents
# encoding: utf-8 begin 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
22 entries across 22 versions & 6 rubygems