Created
July 6, 2015 12:32
-
-
Save jpcercal/72007391b4cdc67ad3e4 to your computer and use it in GitHub Desktop.
Composer PostInstallCmd
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
| #!/usr/bin/env bash | |
| BASE_PROJECT_DIR=`pwd` | |
| rm $BASE_PROJECT_DIR/.git/hooks/pre-commit 2> /dev/null | |
| ln -s $BASE_PROJECT_DIR/bin/git/hooks/pre-commit $BASE_PROJECT_DIR/.git/hooks/pre-commit | |
| chmod +x $BASE_PROJECT_DIR/.git/hooks/pre-commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment