aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorDominyk Tiller2016-08-30 03:57:07 +0100
committerDominyk Tiller2016-08-30 05:10:59 +0100
commit921aa015760a0b85345efd8fb921537499657872 (patch)
tree32de7e288bffedb665b0912ca25a99c704bacd11 /Library/Homebrew/cmd
parent1408b5ffd4dfbac840580ea9946237d8164941d8 (diff)
downloadbrew-921aa015760a0b85345efd8fb921537499657872.tar.bz2
install: die if Xcode/CLT not up-to-date on prereleases
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/install.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index edf8093bf..a1df8f459 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -227,6 +227,12 @@ module Homebrew
out = checks.send(check)
opoo out unless out.nil?
end
+ if OS.mac? && MacOS.prerelease?
+ checks.strict_development_tools_checks.each do |strict_check|
+ out = checks.send(strict_check)
+ odie out unless out.nil?
+ end
+ end
end
def check_macports