Commit d2605d5

mo khan <mo@mokhan.ca>
2009-05-22 14:51:52
fixed build file error, where i was passing in more args than necessary
1 parent 9a737fc
Changed files (1)
build/rakefile.rb
@@ -7,7 +7,7 @@ deploy_dir = File.join('artifacts','deploy')
 
 task :default => [:test]
 
-task :init  => :clean do
+task :init => :clean do
 	mkdir 'artifacts'
 	mkdir 'artifacts/deploy'
 end
@@ -18,16 +18,14 @@ task :compile => :init do
 	sh "#{msbuild_file} ../solution.sln /t:Clean /t:Build /property:Configuration=debug"
 end
 
-task :test, :needs => [:compile] do |t,args|
+task :test => :compile do 
 	file = File.expand_path("../product/project.specifications/bin/debug/project.specifications.dll")
 	sh "../thirdparty/mbunit/mbunit.cons.exe #{file} /rt:text /rnf:project.specifications.dll-results /rf:artifacts /sr"
 end
 
 task :deploy => :compile do
 	files =  File.join('../product','**','mars.rover*.exe')
-	puts files
 	Dir.glob(files).each do|file|
-		puts file
 		FileUtils.cp file,deploy_dir
 	end
 end