message "Installing XCode is straightforward with one caveat. When it asks you about the components to install you need to make sure \"Unix Tools\" is selected. Other than that just click Continue/Okay/Yes/etc."
option "Install XCode from the Apple App Store (OSX 10.7 Lion or greater)" do
link "install_xcode_from_app_store"
end
option "Install XCode from a thumb drive or DVD (OSX 10.6 Snow Leopard)" do
link "install_xcode_from_dvd"
end
option "Install Command Line Tools for XCode" do
message "Visit the [Apple Developer Downloads Page](https://developer.apple.com/downloads)"
message "Download and install the latest **Command Line Tools for Xcode** package"
end
verify "your compiler was installed" do
console "gcc --version"
result "i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)"
message "Your results might differ somewhat. Basically, as long as it doesn't say something like 'command not found', you're probably cool."
end