Skip to content

Instantly share code, notes, and snippets.

@kostaspt
Last active November 2, 2016 17:40
Show Gist options
  • Save kostaspt/712c8ec22851fff5c12d722542a43680 to your computer and use it in GitHub Desktop.
Save kostaspt/712c8ec22851fff5c12d722542a43680 to your computer and use it in GitHub Desktop.
# Install/Update dependencies with npm (using yarn), bower, composer and then runs gulp.
alias depsinstall="if [ -f ./package.json ]; then yarn ; fi && if [ -f ./bower.json ]; then bower install ; fi && if [ -f ./composer.json ]; then composer install ; fi && if [ -f ./gulpfile.js ]; then gulp ; fi"
alias depsupdate="if [ -f ./package.json ]; then yarn upgrade ; fi && if [ -f ./bower.json ]; then bower update ; fi && if [ -f ./composer.json ]; then composer update ; fi && if [ -f ./gulpfile.js ]; then gulp ; fi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment