162 Commits

Author SHA1 Message Date
JCount
4b90f5fdc8 xcode: update Sierra CLT version to 802.0.42 2017-04-24 17:32:10 -04:00
Mike McQuaid
ba3c46d24f More deprecations.
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00
JCount
19ed38df24 xcode: 8.3.2 is latest version 2017-04-19 19:06:24 -04:00
Mike McQuaid
ce1920f7df xcode: 8.3.1 is latest version.
Our CI images are already updated with it.
2017-04-10 21:06:36 +01:00
EricFromCanada
c5bac087b3 update latest versions of Xcode for 10.11 & 10.12 2017-03-28 11:16:02 -04:00
EricFromCanada
60f6dfea14 update suggested Xcode/CLT download URLs 2017-03-28 11:12:34 -04:00
Mike McQuaid
50c1fea4ea xcode: reduce minimum CLT version.
This should be 1.0.0 to be nicer to 10.7 users.

Fixes #1893.
2017-01-23 21:22:54 +00:00
Mike McQuaid
a17f38dd36 xcode: use default location when possible.
Xcode can be installed anywhere but for most people it's in
`/Applications/Xcode.app` so just look there if `xcode-select` isn't
helpful before looking at Spotlight which can return weird results on
e.g. backup disks.

Fixes #1587.
2017-01-09 21:10:55 -08:00
Mike McQuaid
2c6915a48f xcode: general cleanup. 2017-01-09 21:10:55 -08:00
Mike McQuaid
e950aa11d1 Remove Xcode prerelease warnings.
At this point we probably do want to know about issues that crop up in
betas so we can fix them before the new version of Xcode is released.
Additionally, this doesn't really work well any more with our new
tag-based workflow as it means we need to cut a new tag immediately
after a new Xcode is released.
2016-12-19 18:01:36 +00:00
Mike McQuaid
477faf073b Never trigger too old CLT check on <10.7.
While we fake a CLT for these versions they never shipped with the CLT
so cannot update it.
2016-12-18 15:31:17 -08:00
dersvenhesse
b3174aa3e2 XCode 8.2 is stable 2016-12-12 23:29:35 +01:00
Mike McQuaid
43f8d2c7a0 xcode: cleanup Xcode::Version usage.
Don't wrap `MacOS.version` which does comparisons properly already and
avoid stupidly long lines.
2016-12-05 11:09:21 +00:00
Sorin Ionescu
282c0a30b6 Fix macOS version comparison 2016-11-26 13:59:55 -05:00
Mike McQuaid
694cc876ef Merge pull request #1415 from robinkunde/semver
Update macOS Xcode tool checks do use Version class for comparisons
2016-11-13 10:53:34 +00:00
Robin Kunde
e97ce7e7ae move semantic version comparisons into separate class 2016-11-12 15:37:32 -05:00
Mike McQuaid
4015d0465a xcode: add checks for Xcode/CLT minimum versions. 2016-11-05 10:58:38 -04:00
Robin Kunde
2c79868229 Update latest clang version for 10.12 2016-10-31 00:51:38 -04:00
Robin Kunde
5326eecb9d Update macOS Xcode tool checks do use Version class for comparisons instead of strings 2016-10-31 00:51:21 -04:00
dersvenhesse
70cc7790f6 Updated latest versions since XCode 8.1 release 2016-10-28 23:34:12 +02:00
dersvenhesse
4701eff45f XCode 8.1 is stable 2016-10-27 23:35:52 +02:00
Markus Reiter
00b3dde0b2 RuboCop: MacOS 2016-09-25 00:16:31 +02:00
Markus Reiter
58e36c7319 Fix Style/GuardClause. 2016-09-24 12:24:35 +02:00
Markus Reiter
23eac7ab89 Fix DoubleNegation. 2016-09-23 15:30:06 +02:00
Dominyk Tiller
5575c17629
xcode: prefer Utils.popen_read 2016-09-22 18:15:47 +01:00
Dominyk Tiller
b089520682
xcode: revert expectation of 10.11 8.0 CLT 2016-09-22 18:15:47 +01:00
Dominyk Tiller
860f4bd11f
xcode: expect Xcode 8.0 on OS X 10.11 2016-09-22 17:30:56 +01:00
Mike McQuaid
3f9cce0a03 Use new "macOS" naming where appropriate.
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-18 19:57:19 +01:00
Dominyk Tiller
ce359b208d
xcode: 8.0 is no longer prerelease 2016-09-14 03:40:43 +01:00
Mike McQuaid
8271e35786 os/mac/xcode: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Dominyk Tiller
6442cb3032
xcode: update expected clang for macOS 10.12 2016-08-19 01:59:33 +01:00
Dominyk Tiller
33912e218e
xcode: update expected clang for macOS 10.12 2016-08-10 13:54:19 +01:00
Dominyk Tiller
f10370bde5
xcode: update expected clang for macOS 10.12 2016-08-01 23:46:54 +01:00
Mike McQuaid
0e25fc0143 xcode: add update instruction helpers. 2016-07-27 15:05:42 -06:00
Dominyk Tiller
cbdc1b7652
xcode: update expected clang for macOS 10.12 2016-07-20 07:22:03 +01:00
Dominyk Tiller
a59d346fcf
xcode: track prerelease releases 2016-07-17 23:39:15 +01:00
Martin Afanasjew
ccb11935f6 os/mac/xcode: fix CVS/GCC check if no Xcode
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-16 21:31:17 +02:00
Dominyk Tiller
1c802dd3c5
xcode: update expected clang for macOS 10.12 2016-07-06 01:14:22 +01:00
Dominyk Tiller
425eedf43e
xcode: expect 8.0 on macOS 10.12
Closes #357.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-06-14 02:58:08 +01:00
Mike McQuaid
375efe0945 Remove LLVM-GCC support. (#252)
At this point it's never a good compiler to use so let's just remove it.
2016-05-22 09:40:08 +01:00
Mike McQuaid
181ebbfaeb os/mac/xcode: fix development tools reference.
Closes #216.
2016-05-08 17:07:24 +01:00
Mike McQuaid
e316cc9296 Make development tools code cross-platform. 2016-05-08 16:51:22 +01:00
Martin Afanasjew
d579dbb4ca xcode: avoid invoking 'xcodebuild -version' twice
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-05 23:34:40 +02:00
Martin Afanasjew
5ee797eb61 xcode: fix invalid range in comparison
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-05 23:34:40 +02:00
Martin Afanasjew
c55da93ff3 xcode: expect 7.3.1 on 10.11 2016-05-05 12:22:37 +01:00
Misty De Meo
534d6fd527 Move OS::Mac::Xcode.provides_autotools? to compat
Closes #125.

Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-04-21 09:36:31 -07:00
Misty De Meo
75f1e49027 CLT: special case detect_version pre-3.x
Fixes mistydemeo/tigerbrew#186.

Closes #110.

Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-04-18 09:52:46 -07:00
Misty De Meo
19fba42c69 Xcode: update version detection for 2.x 2016-04-18 09:52:46 -07:00
Dominyk Tiller
32ae71b256 xcode: expect 7.3 on 10.11
xcode: expect 7.3 on 10.11
2016-04-10 20:00:11 +01:00
Mike McQuaid
276a797d37 Update documentation after repository split. 2016-04-03 14:03:33 +01:00