Created
August 13, 2015 02:10
-
-
Save steveyken/a61efd3f372d7f3dda7a to your computer and use it in GitHub Desktop.
Bash project install functions
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
npm_install() { | |
if [ -e package.json ]; then npm install; fi | |
} | |
bower_install() { | |
if [ -e bower.json ]; then bower install; fi | |
} | |
bundle_install() { | |
if [ -e Gemfile ]; then bundle install; fi | |
} | |
alias i="bundle_install;npm_install;bower_install" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works for nodejs / ember / ruby / rails