diff options
author | Bruce Williams <bruce@codefluency.com> | 2010-03-13 12:18:00 -0800 |
---|---|---|
committer | Bruce Williams <bruce@codefluency.com> | 2010-03-13 12:18:00 -0800 |
commit | 2a075bc89d65f78b73793fa9d0a20395fb350ea5 (patch) | |
tree | 79b589fcf8b32aa32276a216c3b97a6c2a103a4f /Rakefile | |
parent | d95b03e400c7c2c198a7a5ffcf4fe134e665a315 (diff) |
Add Rakefile for the non-autotest inclined
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 13 |
1 files changed, 13 insertions, 0 deletions
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 |