Skip to content

yyq/xcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple Xcode Cookbook

Installs Apple Xcode and command line tools on OS X Lion, Mountain Lion, Mavericks, and Yosemite.

** Note: ** The official build-essential cookbook now supports installing the command line tools, and is better-maintained than this cookbook.

Requirements

Platforms

  • mac_os_x

Cookbooks

  • 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.

Attributes

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)

Usage

Just include xcode in your node's run_list and set the attributes above.

{
  "name":"my_node",
  "run_list": [
    "recipe[xcode]"
  ]
}

Bugs

Only supports Mac OS X 10.7 - 10.10 at the moment. Pull requests are welcome!

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Submit a Pull Request using Github

License and Authors

About

Development repository for Chef Cookbook for Apple XCode

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 94.7%
  • HTML 5.3%