aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMisty De Meo2015-12-04 13:58:22 -0800
committerMisty De Meo2015-12-07 13:17:43 -0800
commit3a1d7e7259440abe61cc1cc9319d179caba4e8b6 (patch)
tree41f94c87303c6af4494a2ccd809bb218deeb44da /Library/Homebrew/dev-cmd
parent7b26c585c2a26ec0dad201852ca4934c77fcc493 (diff)
downloadbrew-3a1d7e7259440abe61cc1cc9319d179caba4e8b6.tar.bz2
MacOS: refactor sdk_path lookup
* 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
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions