191 Commits

Author SHA1 Message Date
Misty De Meo
296f3c309e CLT: add checks for the header package 2018-06-13 17:24:32 -07:00
Dominyk Tiller
595c232866
xcode: recognise/expect Xcode 9.4 on 10.13 2018-06-05 06:46:32 +01:00
Dominyk Tiller
194c48e9d2
xcode: add initial support for Xcode 10.0 2018-06-05 05:31:40 +01:00
ilovezfs
807a383bc5 Xcode 9.3 2018-04-17 06:26:12 -07:00
Mike McQuaid
7166289ad7 os/mac/xcode: revert an installed? guard removal.
Fixes #4084.
2018-04-17 12:05:09 +01:00
Mike McQuaid
85edbd28b1 Remove Xcode.installed? guards.
It's safe since 600d58f4ca3d85894c66a38802965fd94d4ea469 when
MacOS::Xcode.version started returning `Version::NULL` where
appropriate.
2018-04-17 10:58:51 +01:00
Nikoli Dryden
11817fe1f7
Generalize the regex determining the Xcode version.
The current regex only matches a single digit for each component of the version (e.g. 9.2). This modifies it to match multiple digits in each component, so that e.g. 10.42 will be matched.
2018-03-05 19:44:11 -06:00
Mike McQuaid
1aee4e1e1c Xcode 9.2
Update all the necessary versions but also cleanup some related
indentation and point the `Xcode.md` document to the code rather than
duplicating it there (which means it sometimes ends up outdated).
2017-12-08 14:59:15 +00:00
Shaun Jackman
baa3d187d6 Add CVSRequirement and SubversionRequirement
Use these two requirements in DependencyCollector.
Remove the unused function MacOS::Xcode.provides_cvs?
2017-11-25 09:45:08 -08:00
Mike McQuaid
cd0db51343 diagnostic: check if Xcode needs CLT installed.
Require the CLT on all but the latest version of macOS to avoid the
continuous workarounds for SDK weirdness.
2017-11-17 21:35:49 +00:00
ilovezfs
4cc72cf3be
Merge pull request #3409 from DomT4/xcode
Xcode 9.1 Updates.
2017-11-06 23:22:50 -08:00
Mike McQuaid
e300713f25 xcode: check Xcode installed before using version.
This avoids infinite recursion described in:
https://github.com/Homebrew/brew/pull/3422#issuecomment-342001451
2017-11-05 20:22:01 +00:00
Mike McQuaid
600d58f4ca mac/xcode: compare with existing Version class.
Additionally, return null versions when it makes sense to do so. This
means that comparisons on the Xcode/CLT version do not need to be
guarded on whether Xcode/CLT is installed.
2017-11-05 15:39:43 +00:00
Dominyk Tiller
50c09f8c57
xcode: expect Xcode 9.1 on Sierra & High Sierra 2017-11-01 04:48:52 +00:00
Mike McQuaid
6fe7c5fc95 Merge pull request #3335 from JCount/xcode-9.0.1
xcode: update to Xcode 9.0.1 on 10.12 and 10.13
2017-10-20 18:11:32 +01:00
JCount
a064751060 xcode: update to Xcode 9.0.1 on 10.12 and 10.13 2017-10-19 11:03:17 -04:00
Markus Reiter
9bee9ca575 Use “squiggly” heredocs. 2017-10-18 14:39:09 +02:00
Markus Reiter
175ca909ee Clean up code style and remove .rubocop_todo.yml. 2017-10-08 16:10:37 +02:00
Dominyk Tiller
1dfde95cb6
mac/xcode: update expected Clang on 10.13 2017-09-13 02:34:23 +01:00
Dominyk Tiller
beb411fefc
mac/xcode: update expected Clang on 10.13 2017-08-22 03:44:30 +01:00
Dominyk Tiller
82b2978171
mac/xcode: update expected Clang on 10.13 2017-08-08 18:58:24 +01:00
Dominyk Tiller
afaee7f816
mac/xcode: update expected Clang on 10.13 2017-07-26 02:23:56 +01:00
Dominyk Tiller
d0a2d1ba30
mac/xcode: update expected Clang on 10.13 2017-07-11 16:18:34 +01:00
Dominyk Tiller
a09d4427ef
os/mac/xcode: enforce minimum CLT version on 10.13 2017-06-22 18:18:52 +01:00
Dominyk Tiller
d7c061f7ac
os/mac/xcode: update CLT Clang for 10.13 2017-06-22 18:18:14 +01:00
Mike McQuaid
021cef4b2b Autocorrect Rubocop Style/SpecialGlobalVars. 2017-06-12 09:11:42 +01:00
Dominyk Tiller
08cee5a0d5
os/mac/xcode: add CLT Clang for 10.13 2017-06-07 04:39:29 +01:00
Dominyk Tiller
cc86d4184d
os/mac/xcode: recognise Xcode 9.0 2017-06-06 04:33:55 +01:00
Dominyk Tiller
a88350425b
os/mac/xcode: expect Xcode 8.3.3 2017-06-06 04:15:36 +01:00
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