install: die if Xcode/CLT not up-to-date on prereleases

This commit is contained in:
Dominyk Tiller 2016-08-30 03:57:07 +01:00
parent 1408b5ffd4
commit 921aa01576
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -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