Skip to content

Commit

Permalink
Merge pull request #29 from Yoobic/feat-npm
Browse files Browse the repository at this point in the history
  • Loading branch information
thaiat committed Jun 10, 2015
2 parents d3b9e5b + 5f2bb61 commit 30fff14
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
language: objective-c

cache:
directories:
- node_modules

install:
- bash install.sh

Expand Down
13 changes: 12 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ inquirer_software() {
"iTerm2" "iTerm2" on
"LimeChat" "LimeChat" on
"Mongo" "Mongodb" on
"Rethinkdb" "Rethinkdb" on
"Skype" "Skype" on
"Slack" "Slack" on
"Spectacle" "Spectacle" on
Expand Down Expand Up @@ -283,9 +284,17 @@ if ([[ $choice == *"all"* ]] || [[ $choice == *"Mongo"* ]]); then
chown -R `whoami` /data
echo_title "END INSTALLING MONGO"
fi

############ MONGO ############

############ RETHINKDB ############
if ([[ $choice == *"all"* ]] || [[ $choice == *"Rethinkdb"* ]]); then
echo_title "END INSTALLING RETHINKDB"
brew install rethinkdb
ln -sfv /usr/local/opt/rethinkdb/*.plist ~/Library/LaunchAgents
echo_title "END INSTALLING RETHINKDB"
fi
############ RETHINKDB ############

############ NVM ############
echo_title "BEGIN INSTALL NVM"
curNodeVersion=$(node --version)
Expand Down Expand Up @@ -346,6 +355,8 @@ if ([[ $choice == *"all"* ]] || [[ $choice == *"Cordova"* ]]); then
npm install -g cordova
npm install -g phonegap
npm install -g ionic
npm install -g ios-sim
npm install -g ios-deploy
fi
if ([[ $choice == *"all"* ]] || [[ $choice == *"Eslint"* ]]); then
npm install -g eslint
Expand Down

0 comments on commit 30fff14

Please sign in to comment.