Skip to content

Instantly share code, notes, and snippets.

@flug
Last active August 29, 2015 14:07
Show Gist options
  • Save flug/183ac6df3c734a56ec85 to your computer and use it in GitHub Desktop.
Save flug/183ac6df3c734a56ec85 to your computer and use it in GitHub Desktop.
dynamize
function composer-update (){
echo "-- composer update --"
$(which hhvm) $(which composer) self-update
$(which hhvm) $(which composer) update -vvv --profile --no-scripts && $(which php) $(which composer) run-script post-update-cmd
echo "-- composer update end --"
}
@greg0ire
Copy link

greg0ire commented Oct 1, 2014

Pourquoi sudo ligne 4 ? Comment as-tu installé composer ?

@greg0ire
Copy link

greg0ire commented Oct 1, 2014

Je pense que tu devrais retirer cette ligne, et ne pas mettre le fully-qualified path pour composer. Ça doit pouvoir se remplacer par $(which composer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment