Skip to content

Instantly share code, notes, and snippets.

@NicolasGeraud
Last active January 7, 2017 09:38
Show Gist options
  • Save NicolasGeraud/68be2f0f5e84a5069e6da85f9e9fd36f to your computer and use it in GitHub Desktop.
Save NicolasGeraud/68be2f0f5e84a5069e6da85f9e9fd36f to your computer and use it in GitHub Desktop.
sync graviteeio repositories and update master and run maven
for f in *;do if [[ -d $f ]]; then pushd $f 2>&1 1>/dev/null; echo "\n====== $f" && gfa && gco master && gm; popd 2>&1 1>/dev/null; fi; done;
for f in *;do if [[ -d $f ]]; then pushd $f 2>&1 1>/dev/null; if [[ -e "pom.xml" ]]; then echo "\n====== $f" && mvnci; fi; popd 2>&1 1>/dev/null; fi; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment