Add Rakefile for the non-autotest inclined

This commit is contained in:
Bruce Williams 2010-03-13 12:18:00 -08:00
parent d95b03e400
commit 2a075bc89d

13
Rakefile Normal file
View File

@ -0,0 +1,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