Permalink
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 550 Bytes
$LOAD_PATH << '.'
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']
end
MetricFu::Configuration.run do |config|
config.roodi = config.roodi.merge(:roodi_config => 'config/roodi_config.yml')
config.churn = { :start_date => "1 year ago", :minimum_churn_count => 10}
config.hotspots = { :start_date => "1 year ago", :minimum_churn_count => 10}
end
task :default => :spec