Created
January 18, 2013 20:23
-
-
Save r15ch13/4568209 to your computer and use it in GitHub Desktop.
Report phpunit status to blink1
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 | |
CMD='phpunit.phar --colors' | |
if $CMD; then | |
nohup blink1-tool --rgb 0,255,0 --blink 5 &> /dev/null & | |
else | |
nohup blink1-tool --rgb 255,0,0 --blink 5 &> /dev/null & | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment