included MSF install in rakefile

New tasks to install/update msf
updated default task to install/update MSF before running unit tests
This commit is contained in:
Ben Waugh
2011-12-27 18:27:46 +10:00
parent 33289bc023
commit ffe20c8f3b

View File

@@ -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"]
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"]