From ae02fcf747f2ac2e82e731dc01e8b7908e9ddf16 Mon Sep 17 00:00:00 2001 From: Wade Alcorn Date: Sat, 31 Dec 2011 18:45:23 +1000 Subject: [PATCH] Added bundle install task. --- rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rakefile b/rakefile index 77e567040..cf62dba12 100644 --- a/rakefile +++ b/rakefile @@ -7,13 +7,17 @@ task :quick_unit_tests do end desc "Run all unit tests" -task :all_unit_tests => ["msf_install"] do +task :all_unit_tests => ["install", "msf_install"] do Rake::Task['msf_update'].invoke Rake::Task['msf_start'].invoke sh "cd test/unit/;ruby ts_beef.rb" Rake::Task['msf_stop'].invoke end +task :install do + sh "bundle install" +end + task :no_msf_tests do sh "cd test/unit/;ruby ts_beef.rb no_msf" end