Created
March 4, 2014 12:21
-
-
Save alex-vlasov/9345523 to your computer and use it in GitHub Desktop.
Sugar build for changed files
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/bash | |
SOURCE_DIR="/var/www/sugar/Mango" ; | |
BUILD_DIR="/var/www/sugar/Mango/build/rome" ; | |
VERSION="6.7.0" ; | |
git status --porcelain | grep -v '^?' | cut -c 4- | xargs -I{} -n1 sh -c "cd $BUILD_DIR && sudo php -n build.php --dir={} --file={} --flav=ult --cleanCache=1 --base_dir=$SOURCE_DIR --ver=$VERSION" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment