aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac/xcode.rb
AgeCommit message (Collapse)Author
2016-09-25RuboCop: MacOSMarkus Reiter
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-23Fix DoubleNegation.Markus Reiter
2016-09-22xcode: prefer Utils.popen_readDominyk Tiller
2016-09-22xcode: revert expectation of 10.11 8.0 CLTDominyk Tiller
2016-09-22xcode: expect Xcode 8.0 on OS X 10.11Dominyk Tiller
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-14xcode: 8.0 is no longer prereleaseDominyk Tiller
2016-09-11os/mac/xcode: fix Rubocop warnings.Mike McQuaid
2016-08-19xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-08-10xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-08-01xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-07-27xcode: add update instruction helpers.Mike McQuaid
2016-07-20xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-07-17xcode: track prerelease releasesDominyk Tiller
2016-07-16os/mac/xcode: fix CVS/GCC check if no XcodeMartin Afanasjew
On systems prior to 10.9, formulae that use CVS as a download source check whether the installed Xcode already provides CVS to avoid adding a dependency on the `cvs` formula. Unfortunately, if no Xcode is installed the check fails with undefined method `<' for nil:NilClass causing the formula to become unloadable. This in turn causes some taps to be untappable since #396 added the `readall` check on `tap`. Closes #508.
2016-07-06xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-06-14xcode: expect 8.0 on macOS 10.12Dominyk Tiller
Closes #357. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-05-22Remove LLVM-GCC support. (#252)Mike McQuaid
At this point it's never a good compiler to use so let's just remove it.
2016-05-08os/mac/xcode: fix development tools reference.Mike McQuaid
Closes #216.
2016-05-08Make development tools code cross-platform.Mike McQuaid
2016-05-05xcode: avoid invoking 'xcodebuild -version' twiceMartin Afanasjew
This primarily benefits CLT-only systems where invoking the `xcodebuild` wrapper in `/usr/bin` will fail (twice) with the following message: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Closes #198. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-05-05xcode: fix invalid range in comparisonMartin Afanasjew
Due to a typo, the range of LLVM build versions 2066 to 2325 were never matched and thus Xcode 3.2.0 could never be inferred from that. (Only relevant for legacy systems. Doesn't seem to have impacted any users.)
2016-05-05xcode: expect 7.3.1 on 10.11Martin Afanasjew
2016-04-21Move OS::Mac::Xcode.provides_autotools? to compatMisty De Meo
Closes #125. Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-04-18CLT: special case detect_version pre-3.xMisty De Meo
Fixes mistydemeo/tigerbrew#186. Closes #110. Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-04-18Xcode: update version detection for 2.xMisty De Meo
2016-04-10xcode: expect 7.3 on 10.11Dominyk Tiller
xcode: expect 7.3 on 10.11
2016-04-03Update documentation after repository split.Mike McQuaid
2016-03-19Document that Xcode.prefix can be nilTim D. Smith
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.
2016-03-19More specific test for default prefixTim D. Smith
cf. Homebrew/homebrew#50154
2016-03-19Avoid pathological trailing slashTim D. Smith
Resolves an issue where xcode-select output with a terminal slash leads to superenv failing to strip system library paths from ccld-style invocations. Fixes Homebrew/homebrew#49731. Discussion in Homebrew/homebrew#50154.
2016-02-07os/mac/xcode: expect Xcode 7.2.1Dominyk Tiller
2016-01-19os/mac: use start_with? when possibleBaptiste Fontaine
Closes Homebrew/homebrew#48071. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-10os/mac/xcode: expect xcode 7.2Dominyk Tiller
2015-11-29xcode: expect 7.1.1Dominyk Tiller
2015-10-24xcode: expect xcode 7.1Martin Afanasjew
Closes Homebrew/homebrew#45266. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-23os: centralize check for pre-release OS X versionsMartin Afanasjew
Provide `OS::Mac.prerelease?` for pre-release checks and use it where appropriate. This should simplify updating the test once a new OS X release lands. This also fixes a bug in `BuildError#dump`, where an empty warning message was printed on El Capitan after a failed from-source build, because the check there and the one in `check_for_unsupported_osx` were out of sync. Closes Homebrew/homebrew#45257. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-01xcode: expect xcode 7.0.1Dominyk Tiller
2015-09-04xcode: update 10.11 clang expectationDominyk Tiller
2015-08-21Merge bottle install without Xcode branchMisty De Meo
Merge branch 'bottle_hooks'
2015-08-21Add guards to calls that would trigger Xcode install requestsWilliam Woodruff
add guard in Formula#file_modified? to prevent git popup add guard in Superenv.bin before calling MacOS::Xcode.version add guard against missing Xcode/CLT in Xcode.uncached_version return nil instread of 0 in uncached_version when Xcode/CLT are not present, to distinguish from linuxbrew behavior checks against pour_bottle? and needs_relocation?, add guard around keg.relocate_install_names to check pour_bottle?/needs_relocation? as well needs_relocation? becomes skip_relocation?, use cellar attr to indicate relocation instead of does_not_need_relocation MacOS.can_build? becomes MacOS.has_apple_developer_tools?
2015-08-21xcode: update 10.11 clangDominyk Tiller
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-30xcode: update clang expectation for 10.11Dominyk Tiller
2015-07-30xcode: update regexDominyk Tiller
Ensures we capture Clang's fourth-digit when it exists. This seems to be on pre-release versions of OS X only, but is the cause of the misdetection of CLT up-to-date status on 10.11 several weeks ago. For full explanation, see Homebrew/homebrew#42261. Closes Homebrew/homebrew#42261.
2015-07-09xcode: update clang for 10.11Dominyk Tiller
2015-07-08xcode: add 6.4 expectationDominyk Tiller