Skip to content

Instantly share code, notes, and snippets.

@r15ch13
Created January 18, 2013 20:23
Show Gist options
  • Save r15ch13/4568209 to your computer and use it in GitHub Desktop.
Save r15ch13/4568209 to your computer and use it in GitHub Desktop.
Report phpunit status to blink1
#!/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