aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2016-09-22 23:37:12 +0100
committerDominyk Tiller2016-09-22 23:37:12 +0100
commit559cea7fa9d7f9f2557f2523092687dec45c5316 (patch)
tree41597c0d484853e5f69092ef4c7123c7bb81f760 /Library
parent889c400be4ba7803b7dcf402b00279a21ae80c97 (diff)
downloadbrew-559cea7fa9d7f9f2557f2523092687dec45c5316.tar.bz2
Revert "diagnostic: make using outdated development tools fatal"
This reverts commit a124680b189f50ebeb550845e3c0efd34db66247. Will need to be smarter than this, since people can't force Travis to update. I'm losing count of the amount of times Travis has forced a change of plans around Homebrew this year. Closes https://github.com/Homebrew/brew/issues/1096.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index a85797aa8..15dd3328f 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -14,10 +14,15 @@ module Homebrew
end
def fatal_development_tools_checks
- %w[
- check_xcode_up_to_date
- check_clt_up_to_date
- ]
+ if MacOS.prerelease?
+ %w[
+ check_xcode_up_to_date
+ check_clt_up_to_date
+ ]
+ else
+ %w[
+ ]
+ end
end
def check_for_unsupported_macos