helm/install/brew

58 lines
1.5 KiB
Plaintext
Raw Normal View History

2013-03-03 05:48:43 -08:00
#!/bin/bash
2013-03-16 21:16:00 -07:00
echo "[HOMEBREW]"
if [ ! `command -v "brew"` ]; then
2013-03-16 23:30:13 -07:00
echo
echo "* Installing homebrew"
2013-03-16 21:16:00 -07:00
# http://mxcl.github.com/homebrew/
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
2013-03-16 23:30:13 -07:00
echo
echo "* Setting up homebrew"
# Install GNU core utilities (those that come with OS X are outdated)
brew install coreutils
2013-03-16 23:30:13 -07:00
# echo "Dont forget to add $(brew --prefix coreutils)/libexec/gnubin to \$PATH."
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils
# Install Bash 4
brew install bash
# Install wget with IRI support
brew install wget --enable-iri
# Install more recent versions of some OS X tools
brew tap homebrew/dupes
brew install homebrew/dupes/grep
brew tap josegonzalez/homebrew-php
# Install everything else
brew install ack
brew install git
brew install rename
brew install tree
# vim
brew install python ruby
brew install node nginx ctags
brew install php54 --with-fpm --with-imap --with-mysql --with-pgsql --without-apache
brew install php54-imagick php54-mcrypt php54-xdebug readline
brew install php54-intl
brew install macvim
else
2013-03-16 23:30:13 -07:00
echo
echo "* Updating homebrew"
# Make sure were using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade
fi
2013-03-03 05:48:43 -08:00
2013-03-16 23:30:13 -07:00
echo
echo "* Cleaning up homebrew"
2013-03-03 05:48:43 -08:00
# Remove outdated versions from the cellar
brew cleanup
2013-03-16 21:16:00 -07:00
2013-03-16 23:30:13 -07:00
echo
echo "Done!"