Created
December 3, 2008 21:20
-
-
Save tjweir/31700 to your computer and use it in GitHub Desktop.
This file contains 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
#! /bin/sh | |
#/usr/bin/mvn $* | awk '{ print; if($0 ~ ".*Downloading.*") system("/usr/local/bin/growlnotify -n mavenError -t Maven Downloading -m\""$0 "\"") if($0 ~ ".*ERROR.*") system("/usr/local/bin/growlnotify -n mavenError -t Maven Error -m\""$0 "\"") } END { system("/usr/local/bin/growlnotify -n mavenComplete -t Maven -m \"Build Complete\"") }' | |
/usr/bin/mvn $* | awk '{ print; | |
if($0 ~ ".*Downloading.*") | |
system("/usr/local/bin/growlnotify -n mavenError -t Maven Downloading -m\""$0 "\"") | |
if($0 ~ ".*ERROR.*") system("/usr/local/bin/growlnotify -n mavenError -t Maven Error -m\""$0 "\"") } | |
END { | |
system("/usr/local/bin/growlnotify -n mavenComplete -t Maven -m \"Build Complete\"") }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment