mirror of
https://github.com/tedkulp/dotfiles
synced 2026-03-05 13:40:18 -05:00
Added brew and cask scripts.
This commit is contained in:
47
brew
Executable file
47
brew
Executable file
@@ -0,0 +1,47 @@
|
||||
#!/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 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 mongodb
|
||||
brew install postgresql
|
||||
brew install reattach-to-user-namespace
|
||||
brew install ruby-install
|
||||
brew install tmux
|
||||
brew install weechat --with-python --with-ruby --with-aspell
|
||||
|
||||
brew cleanup
|
||||
33
cask
Executable file
33
cask
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
brew_path=$(which brew)
|
||||
if [ -x "$brew_path" ] ; then
|
||||
echo "Install/Updating Homebrew Packages"
|
||||
echo ""
|
||||
|
||||
brew tap phinze/homebrew-cask
|
||||
brew install brew-cask
|
||||
|
||||
function installcask() {
|
||||
brew cask install "${@}"
|
||||
}
|
||||
|
||||
installcask airfoil
|
||||
installcask alfred
|
||||
installcask crashplan
|
||||
installcask dropbox
|
||||
installcask evernote
|
||||
installcask gitx-rowanj
|
||||
installcask google-chrome
|
||||
installcask handbrake
|
||||
installcask iterm2
|
||||
installcask istat-menus
|
||||
installcask rdio
|
||||
installcask skype
|
||||
installcask sublime-text
|
||||
installcask vagrant
|
||||
installcask virtualbox
|
||||
else
|
||||
echo "Install Homebrew first. Run ~/dotfiles/brew first."
|
||||
echo ""
|
||||
fi
|
||||
Reference in New Issue
Block a user