Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 485 Bytes
require 'rake'
require 'rake/rdoctask'
require 'spec/rake/spectask'
require 'lib/metric_fu'
desc "Run all specs in spec directory" 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 do |config|
config.template_class = AwesomeTemplate
task :default => [:"metrics:all"]
Jump to Line
Something went wrong with that request. Please try again.