Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 19 lines (15 sloc) 0.485 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
require 'rake'
require 'rake/rdoctask'
require 'spec/rake/spectask'
require 'lib/metric_fu'

desc "Run all specs in spec directory"
Spec::Rake::SpecTask.new(:spec) do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
   t.rcov = true
   t.rcov_opts = ['--exclude', 'spec,config,Library,usr/lib/ruby']
   t.rcov_dir = File.join(File.dirname(__FILE__), "tmp")
end

MetricFu::Configuration.run do |config|
  config.template_class = AwesomeTemplate
end

task :default => [:"metrics:all"]
Something went wrong with that request. Please try again.