aboutsummaryrefslogblamecommitdiffstats
path: root/Rakefile
blob: b1fc74a13c6fedd0bf733925538bf492abbe22b6 (plain) (tree)
1
2
3
4
5
6
7
                  





                                              





                                              

                                   
require 'rubygems'
require 'spec/rake/spectask'

Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:coverage) do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.rcov = true
  t.rcov_opts = ['-x', 'spec,gems']
end

desc "Default task is to run specs"
task :default => :spec