buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r705014 - /incubator/buildr/trunk/lib/buildr/core/application.rb
Date Wed, 15 Oct 2008 20:10:32 GMT
Author: assaf
Date: Wed Oct 15 13:10:31 2008
New Revision: 705014

URL: http://svn.apache.org/viewvc?rev=705014&view=rev
Log:
Complete/fail messages are always sent to the console, it's not mutually exclusive with Growl
notifications.

Modified:
    incubator/buildr/trunk/lib/buildr/core/application.rb

Modified: incubator/buildr/trunk/lib/buildr/core/application.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/core/application.rb?rev=705014&r1=705013&r2=705014&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/core/application.rb (original)
+++ incubator/buildr/trunk/lib/buildr/core/application.rb Wed Oct 15 13:10:31 2008
@@ -424,10 +424,6 @@
     Buildr.application.on_failure { |title, message, ex| notify['Failed', title, message]
}
   rescue Exception # No growl
   end
-elsif $stdout.isatty && verbose
-  notify = lambda { |type, title, message| $stdout.puts "[#{type}] #{title}: #{message}"
}
-  Buildr.application.on_completion { |title, message| notify['Completed', title, message]
}
-  Buildr.application.on_failure { |title, message, ex| notify['Failed', title, message] }
 end
 
 



Mime
View raw message