Last active
August 29, 2015 13:56
-
-
Save steveh/9081072 to your computer and use it in GitHub Desktop.
All the things
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
#!/bin/sh | |
# Installation: save to /usr/local/bin/allthethings | |
# and chmod +x /usr/local/bin/allthethings | |
# Usage: allthethings update | |
# allthethings install | |
if [ -f "Gemfile" ]; then | |
echo "bundler" | |
bundle $1 | |
fi | |
if [ -f "Vendorfile" ]; then | |
echo "vendorer" | |
vendorer $1 | |
fi | |
if [ -f "composer.json" ]; then | |
echo "composer" | |
composer $1 | |
fi | |
if [ -f "package.json" ]; then | |
echo "npm" | |
npm $1 | |
fi | |
if [ -f "bower.json" ]; then | |
echo "bower" | |
bower $1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment