Commits

Takeshi Komiya  committed 94fe365

Use homebrew and homebrew-cask

  • Participants
  • Parent commits 4e2a53a

Comments (0)

Files changed (2)

+update
+upgrade
+
+# add repositories
+tap caskroom/cask
+tap caskroom/homebrew-versions
+
+# packages
+install brew-cask
+install git
+install mercurial
+install openssl
+
+cleanup
+
+# cask packages
+cask update
+
+cask install alfred
+cask install appcleaner
+cask install clamxav
+cask install dash
+cask install dropbox
+cask install google-chrome
+cask install google-japanese-ime
+cask install keepassx0
+cask install keyremap4macbook
+cask install iterm2
+cask install mplayerx
+cask install reeder
+cask install skype
+cask install sourcetree
+cask install the-unarchiver
+cask install vagrant
+cask install virtualbox
+
+cask alfred link
+cask cleanup
     REGULAR_PYTHON_VERSIONS=2.7.6
 fi
 
+if [ `uname -s` == "Darwin" ]; then
+    echo ""
+    echo "Setup Homebrew ..."
+    if [ -x /usr/local/bin/brew ]; then
+        (cd `brew --prefix` && git pull origin master)
+    else
+        ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
+    fi
+
+    brew bundle
+    PATH=/usr/local/bin:$PATH
+fi
+
 echo ""
 echo "Setup vim extensions ..."
 if [ -d _vim/bundle/neobundle.vim ]; then