From 555e24394a8ed3fa8f9ac41ed3c9919102d8f427 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Fri, 28 Nov 2008 03:03:23 -0500 Subject: [PATCH] Adding "rake precommit" task for running specs against both MRI and JRuby --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 08ff95e..3f553b6 100644 --- a/Rakefile +++ b/Rakefile @@ -85,4 +85,6 @@ task "spec:jruby" do system "jruby -S rake spec" end -task :default => :spec \ No newline at end of file +task :default => :spec + +task :precommit => ["spec", "spec:jruby"] \ No newline at end of file