Skip to content

Instantly share code, notes, and snippets.

@danpoltawski
Last active December 15, 2015 16:59
Show Gist options
  • Select an option

  • Save danpoltawski/5293376 to your computer and use it in GitHub Desktop.

Select an option

Save danpoltawski/5293376 to your computer and use it in GitHub Desktop.
bash function for notifying me of phpunit failures
function phpunit() {
vendor/bin/phpunit $@
if [[ $? == 0 ]]; then
finished "phpunit OK"
else
finished "phpunit FAILED"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment