See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| #!/usr/bin/env bash | |
| echo "Install XCode first" | |
| xcode-select --install | |
| # Check for Homebrew and install if necessary | |
| if test ! $(which brew); then | |
| echo "Installing Homebrew..." | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH" |
This procedure is tested on Mac OS X 10.8 with Developpers tools installed (xCode).
PHP 5.4 installed with Homebrew.
Update: I wrote a blog post about this.
Download the following files from Oracle website (yes, you need to create an account and accept terms):