From 2a075bc89d65f78b73793fa9d0a20395fb350ea5 Mon Sep 17 00:00:00 2001 From: Bruce Williams Date: Sat, 13 Mar 2010 12:18:00 -0800 Subject: [PATCH] Add Rakefile for the non-autotest inclined --- Rakefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Rakefile diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..3e005ff --- /dev/null +++ b/Rakefile @@ -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