Skip to content

Commit

Permalink
Added brew check/install
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-Meldrum committed May 9, 2017
1 parent 08a9f95 commit 7643cad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions installscript.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
#!/bin/bash

if [[ $OSTYPE == *"darwin"* ]]; then
which -s brew
if [[ $? != 0 ]] ; then
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
else
brew update
fi
brew install md5sha1sum
brew install git
brew install sbt
brew install wget
brew install node # Will install npm as well
brew install docker
brew cask install java
npm install -g grunt
else
# Check that the distro is debian based
ubuntu=0
Expand Down

0 comments on commit 7643cad

Please sign in to comment.