Files
dotfiles/brew
2013-12-04 15:34:14 -05:00

54 lines
1.1 KiB
Bash
Executable File

#!/usr/bin/env bash
brew_path=$(which brew)
if [ -x "$brew_path" ] ; then
echo "Install/Updating Homebrew Packages"
echo ""
else
echo "Installing homebrew"
echo ""
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
if [ $? -ne 0 ]; then
echo "Error installing homebrew. Bailing..."
echo ""
exit 1;
else
brew doctor
if [ $? -ne 0 ]; then
echo "Brew Doctor is not happy. Bailing..."
echo ""
exit 1;
fi
fi
fi
brew update
brew upgrade
brew install ack
brew install apple-gcc42
brew install chruby
brew install coreutils
brew install elixir
brew install git
brew install git-flow
brew install go
brew install heroku-toolbelt
brew install leiningen
brew install macvim --override-system-vim
brew install maven
brew install reattach-to-user-namespace
brew install ruby-install
brew install tmux
brew install weechat --with-python --with-ruby --with-aspell
brew install https://raw.github.com/falsecz/homebrew-misc/master/Formula/git-wtf.rb
# At the end, because they require user intervention
brew install mongodb
brew install postgresql
brew install redis
brew cleanup