brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
OS::Mac::Xcode#bundle_path
Ask Spotlight where Xcode is. If the user didn't install the helper tools and installed Xcode in a non-conventional place, this is our only option. See: https://superuser.com/questions/390757
Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/os/mac/xcode.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-OS--Mac--Xcode-bundle_path-for-pr
# Commit to gitgit add Library/Homebrew/os/mac/xcode.rbgit commit -m "better docs for OS::Mac::Xcode#bundle_path"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-OS--Mac--Xcode-bundle_path-for-pr
hub pull-request
# Celebrate!