Created
November 14, 2012 13:44
-
-
Save delr3ves/4072143 to your computer and use it in GitHub Desktop.
Hook to execute PHPUnit test before commit.
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/sh | |
#add this code to your .git/hook/pre-comit file | |
phpunit -c app/ | |
exit $? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment