Skip to content

Commit

Permalink
Replace Brewfile & Caskfile with shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedelgabri committed Oct 3, 2014
1 parent 829064f commit 7f2c026
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 114 deletions.
65 changes: 0 additions & 65 deletions homebrew/Brewfile

This file was deleted.

46 changes: 0 additions & 46 deletions homebrew/Caskfile

This file was deleted.

115 changes: 115 additions & 0 deletions homebrew/homebrew.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# Homebrew taps
TAPS=(
homebrew/dupes
homebrew/versions
caskroom/cask
caskroom/fonts
caskroom/versions
# for sitespeedio
sitespeedio/sitespeedio
tobli/browsertime
)

# Homebrew Formulas
FORMULAS=(
coreutils
findutils
zsh
caskroom/cask/brew-cask
wget
z
git
node
tree
dnsmasq
mongodb
phantomjs
gh
rbenv
rbenv-gem-rehash
ruby-build
the_silver_searcher
macvim --override-system-vim --custom-icons --with-lua
imagemagick
nginx
mysql
sitespeedio
todo-txt
ctags
# Python & work related stuff
python #2.7.8
gdal #1.11.1
geos #3.4.2
postgis #2.1.4
postgresql #9.3.5
proj #4.8.0
elasticsearch-0.20 #0.20.6
libmemcached #1.0.18
redis
)

# Homebrew casks
CASKS=(
font-inconsolata-dz-for-powerline
font-inconsolata
font-source-code-pro
font-droid-sans-mono
font-meslo-lg
box-sync
google-chrome
google-chrome-canary
firefox
firefox-aurora
firefox-nightly
webkit-nightly
opera
opera-next
caffeine
alfred
#cloudapp
dash
spectacle
imagealpha
imageoptim
iterm2
sequel-pro
sublime-text-3
the-unarchiver
sketch
skype
wunderlist
lime-chat
transmit
virtualbox
vlc
hipchat
betterzipql
qlcolorcode
qlmarkdown
qlprettypatch
qlstephen
quicklook-csv
quicklook-json
webp-quicklook
recordit
transmission
appcleaner
)

#================================================================================

brew update

brew tap ${TAPS[@]} && brew install ${FORMULAS[@]}

echo "to update setuptools & pip run: pip install --upgrade setuptools pip install --upgrade pip"
echo "Don’t forget to add $(brew --prefix coreutils)/libexec/gnubin to \$PATH."
echo " Changing shell...."
sudo echo "/usr/local/bin/zsh" >> /etc/shells && chsh -s /usr/local/bin/zsh


brew cask ${CASKS[@]} && brew cask alfred link

echo "Put your license in Dash & Sublime. and Install Tweetbot"

brew cleanup
5 changes: 2 additions & 3 deletions source/install
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ if ! command -v brew >/dev/null; then
echo "\033[0;34m------------------------------------------------------------\033[0;0m"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew bundle $HOME/.dotfiles/homebrew/Brewfile
brew bundle $HOME/.dotfiles/homebrew/Caskfile
sh $HOME/.dotfiles/homebrew/homebrew.sh
sh $HOME/.dotfiles/node/packages.sh
sh $HOME/.dotfiles/source/setup.sh

rbenv install 2.0.0p-247 && rbenv global 2.0.0p-247
rbenv install 2.0.0 && rbenv global 2.0.0
sh $HOME/.dotfiles/ruby/gems.sh

echo "\033[0;34m-------------------------------------------------------------------------------\033[0;0m"
Expand Down

0 comments on commit 7f2c026

Please sign in to comment.