Skip to content

Commit

Permalink
Replaced brew bundle with shell script.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauluranga committed Oct 31, 2014
1 parent 2786d5d commit 06d7908
Show file tree
Hide file tree
Showing 9 changed files with 109 additions and 93 deletions.
36 changes: 0 additions & 36 deletions bin/Brewfile

This file was deleted.

32 changes: 0 additions & 32 deletions bin/Caskfile

This file was deleted.

11 changes: 0 additions & 11 deletions bin/Fontfile

This file was deleted.

10 changes: 0 additions & 10 deletions bin/QuickLookfile

This file was deleted.

39 changes: 39 additions & 0 deletions bin/brew
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env bash

# Install command-line tools using Homebrew
run_brew() {

# Make sure we’re using the latest Homebrew
brew update

# Upgrade any already-installed formulae
brew upgrade

brew tap thoughtbot/formulae
brew install gitsh

brew tap caskroom/cask
brew install brew-cask

brew install git-flow
brew install hub
brew install pow
brew install the_silver_searcher
brew install tig
brew install tmux
brew install tree
brew install cowsay
brew install fortune
brew install figlet
brew install toilet

# rbenv
brew install rbenv
brew install rbenv-gem-rehash
brew install ruby-build

brew link openssl --force

# Remove outdated versions from the cellar
brew cleanup
}
35 changes: 35 additions & 0 deletions bin/cask
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env bash

# Install native apps
run_apps() {

brew cask install adium
brew cask install alfred
brew cask install appcode
brew cask install apptrap
brew cask install caffeine
brew cask install charles
brew cask install codekit
brew cask install dash
brew cask install dropbox
brew cask install evernote
brew cask install filezilla
brew cask install firefox
brew cask install github
brew cask install gitx-rowanj
brew cask install google-chrome
brew cask install google-drive
brew cask install iterm2
brew cask install onepassword
brew cask install sublime-text
brew cask install skype
brew cask install spotify
brew cask install teamviewer
brew cask install the-unarchiver
brew cask install transmission
brew cask install virtualbox
brew cask install vlc
brew cask install vagrant

brew cask alfred link
}
14 changes: 14 additions & 0 deletions bin/font
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

# Install native fonts
run_fonts() {

brew tap caskroom/fonts

brew cask install font-source-code-pro
brew cask install font-dejavu-sans-mono-for-powerline
brew cask install font-inconsolata-for-powerline
brew cask install font-inconsolata-dz-for-powerline
brew cask install font-sauce-code-powerline
}

12 changes: 8 additions & 4 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ if [[ "$1" == "-h" || "$1" == "--help" ]]; then
fi

# Source the necessary files and helper scripts
source ./bin/brew
source ./bin/cask
source ./bin/font
source ./bin/quicklook
source ./lib/git
source ./lib/ruby
source ./lib/utils
Expand Down Expand Up @@ -75,7 +79,7 @@ if ! type_exists 'brew'; then

# Install Homebrew formulae via Brewfile
e_process "Installing Homebrew packages"
brew bundle ./bin/Brewfile
run_brew
fi

# __ __
Expand Down Expand Up @@ -165,13 +169,13 @@ seek_confirmation "Do you want to install Mac OS X Applications?"
if is_confirmed; then

e_process "Installing Mac OS X Applications"
brew bundle ./bin/Caskfile
run_apps

e_process "Installing Mac OS X fonts"
brew bundle ./bin/Fontfile
run_fonts

e_process "Installing Mac OS X Quick Look plugins for developers"
brew bundle ./bin/QuickLookfile
run_ql

e_process "Installing ST2 plugins"
run_subl
Expand Down
13 changes: 13 additions & 0 deletions bin/quicklook
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Install Quick Look plugins
run_ql() {

brew cask install qlcolorcode
brew cask install qlstephen
brew cask install qlmarkdown
brew cask install qlprettypatch
brew cask install quicklook-csv
brew cask install quicklook-json
brew cask install provisionql
}

0 comments on commit 06d7908

Please sign in to comment.