From 559cea7fa9d7f9f2557f2523092687dec45c5316 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Thu, 22 Sep 2016 23:37:12 +0100 Subject: [PATCH] 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. --- Library/Homebrew/extend/os/mac/diagnostic.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index a85797aa8b..15dd3328fe 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