Created
August 5, 2014 22:02
-
-
Save wraithan/f5207341d1662369cae2 to your computer and use it in GitHub Desktop.
I like how easy it is to build simple bash scripts. I take this and then use `nodemon --exec "./watch.sh"` and basically have CI locally on my system.
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/bash | |
if make unit; then | |
osx-notifier --type 'pass' --title "nodejs-agent" --message 'unit tests'; | |
else | |
osx-notifier --type 'fail' --title "nodejs-agent" --message 'unit tests'; | |
fi | |
if make integration; then | |
osx-notifier --type 'pass' --title "nodejs-agent" --message 'integration tests'; | |
else | |
osx-notifier --type 'fail' --title "nodejs-agent" --message 'integration tests'; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment