lib/environment.rb in dev_tasks-0.0.76 vs lib/environment.rb in dev_tasks-0.0.77
- old
+ new
@@ -67,12 +67,16 @@
end
end
end
def self.rake(directory)
+ Environment.rake(directory,'default')
+ end
+
+ def self.rake(directory,task)
Dir.chdir(directory) do
timer=Timer.new
- out=`rake default`
+ out=`rake #{task}`
if $? != 0
puts "rake default in " + directory
puts out
raise project + " failed"
\ No newline at end of file