Last active
August 29, 2015 13:57
-
-
Save keithhamilton/9772935 to your computer and use it in GitHub Desktop.
Installs build tools for Composite client framework
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
#!/bin/bash | |
GIT=`which git` | |
if [ -z $GIT ]; then | |
BREW=`which brew` | |
if [ -z $BREW ]; then | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
fi | |
# install git | |
brew install git | |
fi | |
# Node + Gulp | |
NPM=`which npm | sed -e 's/\// /g' | awk '{print $NF}'` | |
if [ -z $NPM ]; then | |
# node.js | |
wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.pkg -O ~/Downloads/node-v0.10.26.pkg | |
sudo installer -package ~/Downloads/node-v0.10.26.pkg -target / | |
fi | |
# install gulp | |
npm install gulp | |
# download and install client framework | |
git clone https://github.com/wieden-kennedy/composite-client.git | |
cd composite-client && npm install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment