Created
June 6, 2014 02:57
-
-
Save theand/f7467fb10c24d2c93714 to your computer and use it in GitHub Desktop.
run 'compser update' on all subdirectory
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
function update_composer_all(){ | |
for DIR in *; | |
do | |
echo "Processing : $DIR/" | |
[[ -d $DIR ]] && [[ -e $DIR/composer.json ]] && cd $DIR && composer update && cd .. ; | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment