aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac/sdk.rb
AgeCommit message (Collapse)Author
2016-09-11os/mac/sdk: fix Rubocop warnings.Mike McQuaid
2016-07-13various: proper escape dot in regexXu Cheng
2016-05-08os/mac/sdk: fix bad locate reference.Mike McQuaid
Closes #216.
2016-03-19Revert "Avoid constructing paths by string interpolation"Tim D. Smith
This reverts commit 8c7f3d859e8f715b6c63e4fe75e7a636aee4167f.
2016-03-19Avoid constructing paths by string interpolationTim D. Smith
Closes Homebrew/homebrew#50154.
2015-12-07MacOS: refactor sdk_path lookupMisty De Meo
* Pull SDK lookup code into a new `locator` class, which caches its results * SDKLocator only queries one SDK location, not all SDK locations * Build a map of all installed SDKs inside that location, instead of just the requested SDK * Ask xcrun for --show-sdk-platform-path first so that all SDKs can be found, instead of asking xcodebuild for a specific SDK * Add a new `SDK` class, which tracks the version and the prefix; add a new `MacOS.sdk` method which returns an `SDK` instance instead of a bare path; MacOS.sdk_path still returns a bare path