Created
March 22, 2012 16:36
-
-
Save proudlygeek/2159450 to your computer and use it in GitHub Desktop.
phpunit wav when all green : )
This file contains hidden or 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
| tv-testall() { | |
| if [ $(pwd) != "/home/prouudlygeek/github/BookingSandbox" ]; then | |
| echo -n "terravision test command failed: you are not in the correct path " | |
| pwd | |
| return 1 | |
| fi | |
| php app/console doctrine:database:drop --env="test" --force | |
| php app/console doctrine:database:create --env="test" | |
| php app/console doctrine:schema:create --env="test" | |
| php app/console doctrine:fixtures:load --env="test" | |
| php app/console assets:install web | |
| if [[ $(phpunit -c app) ]]; then | |
| aplay ~/Dropbox/tvision/test-passed.wav | |
| fi | |
| echo $'\007' | |
| return 0 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment