Rakefile in indirect-metric_fu-0.8.2 vs Rakefile in indirect-metric_fu-0.9.0
- old
+ new
@@ -1,11 +1,5 @@
-require 'rake'
-require 'rake/rdoctask'
-require 'spec/rake/spectask'
-require File.join(File.dirname(__FILE__), 'lib', 'metric_fu')
+require "rake"
+Dir['tasks/**/*.rake'].each { |rake| load rake }
-desc "Run all specs in spec directory"
-Spec::Rake::SpecTask.new(:spec) do |t|
- t.spec_files = FileList['spec/**/*_spec.rb']
-end
-
-task :default => [:"metrics:all"]
+desc "Run the specs."
+task :default => :spec