aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-23 17:49:01 +0100
committerGitHub2016-09-23 17:49:01 +0100
commit81e325cdb75d6ffd81d4ad6e335a97596697c541 (patch)
tree3913f7c47cb576049597773e5ea6d7c7fc5a50cb /Library
parent8e1169085d4d843fe2cb9a444ffc8db0921899d1 (diff)
parentf3ef9a4551ea05e014a3b0cd4ce22624444bdbaf (diff)
downloadbrew-81e325cdb75d6ffd81d4ad6e335a97596697c541.tar.bz2
Merge pull request #1097 from DomT4/software_dev_is_hard
diagnostic: make using outdated dev tools fatal
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index 15dd3328f..ba80cbc78 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -14,13 +14,13 @@ module Homebrew
end
def fatal_development_tools_checks
- if MacOS.prerelease?
+ if ENV["TRAVIS"] || ARGV.homebrew_developer?
%w[
- check_xcode_up_to_date
- check_clt_up_to_date
]
else
%w[
+ check_xcode_up_to_date
+ check_clt_up_to_date
]
end
end