diff --git a/bootstrap.sh b/bootstrap.sh index d2cc794..c53fe47 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -58,6 +58,11 @@ else echo "Your SSHfu is strong, skipping config copy..." fi +if [[ $(uname -s) == "Darwin" ]]; then + echo "installing brew" + ./brew.sh +fi + echo "" echo "Cleaning up..." @@ -72,4 +77,5 @@ popd 2&> /dev/null echo "To uninstall, do cd ./lauging-hipster && ./remove.sh" echo "Make sure your home_bkup folder is present, so keep it safe in the meantime!" echo "Install ./tools/modules/powerline-fonts and set them up in your terminal to benefit from the custom PS1 in .shell_colors" +echo "" echo "done!" diff --git a/brew.sh b/brew.sh new file mode 100755 index 0000000..5d8af34 --- /dev/null +++ b/brew.sh @@ -0,0 +1,27 @@ +#!/bin/bash +/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"; + +brew update && brew install \ + brew-cask \ + cmake \ + curl \ + docker\ + docker-compose \ + docker-machine \ + git \ + gnupg \ + nvm \ + openssl \ + python \ + rbenv \ + ruby-build \ + tmux \ + wget; + +brew install go --cross-compile-all; +brew install macvim --override-system-vim --with-lua --with-python; + +brew link --force openssl; + +rbenv install 1.9.3-p125; +rbenv global 1.9.3-p125;