Add Rakefile for the non-autotest inclined
authorBruce Williams <bruce@codefluency.com>
Sat, 13 Mar 2010 20:18:00 +0000 (12:18 -0800)
committerBruce Williams <bruce@codefluency.com>
Sat, 13 Mar 2010 20:18:00 +0000 (12:18 -0800)
Rakefile [new file with mode: 0644]

diff --git a/Rakefile b/Rakefile
new file mode 100644 (file)
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