Created
March 3, 2014 09:24
-
-
Save minipai/9321375 to your computer and use it in GitHub Desktop.
Brach changed, do Gulp.
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
#! /bin/bash | |
# Exit early if this was only a file checkout, not a branch change ($3 == 1) | |
[[ $3 == 0 ]] && exit 0 | |
echo "Brach changed, do Gulp." | |
cd "$GIT_DIR/../biideal/static" | |
pwd | |
gulp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment