From 60dfd4e169d9c20edbcb59dd5ecbf53bb66208ce Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Fri, 20 Jun 2008 11:54:25 -0700 Subject: [PATCH] added basic Rakefile --- Rakefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Rakefile diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..b1a4814 --- /dev/null +++ b/Rakefile @@ -0,0 +1,15 @@ +require 'rake' +require 'spec/rake/spectask' + +desc "Run all specs" +Spec::Rake::SpecTask.new('spec') do |t| + t.spec_files = FileList['spec/*_spec.rb'] +end + +desc "Print specdocs" +Spec::Rake::SpecTask.new(:doc) do |t| + t.spec_opts = ["--format", "specdoc", "--dry-run"] + t.spec_files = FileList['spec/*_spec.rb'] +end + +task :default => :spec \ No newline at end of file