aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/macos/xcode.rb
AgeCommit message (Collapse)Author
2012-10-22Latest Xcode is 4.5.1Adam Vandenberg
2012-09-19Update Xcode.latest_version for 4.5Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-19Update Xcode guess for 4.5Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03Actually cache Xcode.version if nilMax Howell
2012-08-31MacOS.sdk_path is unlicensed Xcode awareMax Howell
Now we should get an sdk_path, but tools like xcodebuild, xcode-select and xcrun will still error out. But at least more of Homebrew will work. Also putting the Xcode 3 path finder last. We get bug reports because newer Xcodes are installed in parallel to older Xcodes. We want to find and use the newer Xcode's first. Xcode.prefix is pretty smart about that. Refs Homebrew/homebrew#14558.
2012-08-27Prevent CLT.version being ""Max Howell
Also cache the response if N/A as it is slow to keep repeating that. And only do one pkgutil call if possible.
2012-08-17Fix syntax error, sorry about that.Max Howell
Didn't test properly, it was a side-fix. Bad mxcl.
2012-08-17Stop warning about CLT w/o XcodeMax Howell
Also made the latest_versions checks smarter. Hopefully correct too.
2012-08-07Fix Xcode.versionMax Howell
I managed to remove a return while fixing this yesterday. The whitespace changes made the diff unreadable so I missed this regression. Why does this sort of thing still happen?
2012-08-06Actually cache Xcode.versionMax Howell
The short-circuit returns would cause the caching ||= syntax to be skipped. For me on my CLT-less install, this was noticeably slowing down brew for some operations due to the frequent calls to xcodebuild.
2012-08-01Move X11 machinery into MacOS::XQuartz namespaceJack Nagel
In order to better support Xcode-only systems, where X11 libs and executables live under /usr/X11 but headers live in the SDK, move the x11_* helper methods into a new module. This allows us to keep some of the CLT/Xcode-only and Apple X11/XQuartz logic hidden from outside code, like ENV.x11. Since Apple's X11 is actually XQuartz, name the module "MacOS::XQuartz".