-
-
Save xoebus/2033178 to your computer and use it in GitHub Desktop.
Add growl 1.3 to buildr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this to a buildr 'buildfile' to receive growl notifications when compilation | |
# completes or fails (including cc compilations) | |
require 'ruby_gntp' | |
# Growl setup | |
Buildr.application.on_completion do |title, message| | |
GNTP.notify({ | |
:app_name => "buildr", | |
:title => title, | |
:text => message, | |
}) | |
end | |
Buildr.application.on_failure do |title, message| | |
GNTP.notify({ | |
:app_name => "buildr", | |
:title => title, | |
:text => message, | |
}) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment