summaryrefslogtreecommitdiff
path: root/Rakefile
blob: 3e005fffba663ec8f020340c853a480f71ad4c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :default => :spec