Created
October 15, 2014 06:07
-
-
Save richardj/85377bcff51efcd1b0ba to your computer and use it in GitHub Desktop.
start.sh with --rebuild flag
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 | |
while test $# -gt 0; do | |
case "$1" in | |
--rebuild) | |
cd assets/jscss && bower update && cd - | |
cd assets/jscss && npm update && cd - | |
break | |
;; | |
esac | |
done | |
rm -rf cache/* | |
php start.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment