From aee2a54a2ddf0a65223f0779ab8045c1ac237eba Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Mon, 5 May 2014 12:34:39 +0100 Subject: [PATCH] Download brewfiles and bundle. --- setup.sh | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index a9e0f46..936a895 100755 --- a/setup.sh +++ b/setup.sh @@ -1,4 +1,19 @@ #!/bin/sh -#ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" -echo " ************* DONE! ************" +ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" + +# We want to be in the user home directory. +cd ~ + +# Get Brewfiles. +echo 'Downloading Brewfiles...' +curl -s https://raw.githubusercontent.com/danbee/mac-setup/master/Brewfile > ~/Brewfile +curl -s https://raw.githubusercontent.com/danbee/mac-setup/master/Caskfile > ~/Caskfile + +# Install brew bundles +echo 'Installing...' +brew bundle +brew bundle Caskfile + +echo 'Done!' +