Installs Apple Xcode and command line tools on OS X Lion, Mountain Lion, Mavericks, Yosemite, and El Capitan.
** Note: ** The official build-essential cookbook now supports installing the command line tools, and is better-maintained than this cookbook.
mac_os_x
dmg
The DMGs are not accessible from Apple directly without logging into the developer center. You must place the DMGs on a fileserver yourself and set the URL attributes below. The intended filenames are documented in the attributes file.
Key | Type | Description | Default |
---|---|---|---|
['xcode']['url'] |
String | URL to the Xcode DMG | nil |
['xcode']['checksum'] |
String | Checksum of the Xcode DMG | (in the attributes file) |
['xcode']['cli']['url'] |
String | URL to the Xcode Command-Line Tools DMG | nil |
['xcode']['cli']['checksum'] |
String | Checksum of the Xcode CLI DMG | (in the attributes file) |
Just include xcode
in your node's run_list
and set the attributes above.
{
"name":"my_node",
"run_list": [
"recipe[xcode]"
]
}
Only supports Mac OS X 10.7 - 10.11 at the moment. Pull requests are welcome!
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Submit a Pull Request using Github
- Author: Julian C. Dunn ([email protected])
- License: Apache 2.0