From ffe20c8f3b8cc25bdd4fc410682ed185807e2915 Mon Sep 17 00:00:00 2001 From: Ben Waugh Date: Tue, 27 Dec 2011 18:27:46 +1000 Subject: [PATCH] included MSF install in rakefile New tasks to install/update msf updated default task to install/update MSF before running unit tests --- rakefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rakefile b/rakefile index 599780be4..93e845b44 100644 --- a/rakefile +++ b/rakefile @@ -4,8 +4,16 @@ task :quick_unit_tests do end desc "Run all unit tests" -task :all_unit_tests do +task :all_unit_tests => ["msf_install"] do sh "cd test/unit/;ruby ts_beef.rb" end -task :default => ["all_unit_tests"] \ No newline at end of file +task :msf_install do + sh "cd test;svn co https://www.metasploit.com/svn/framework3/trunk/ msf" +end + +task :msf_update do + sh "cd test/msf;svn update" +end + +task :default => ["all_unit_tests"]