From 921aa015760a0b85345efd8fb921537499657872 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Tue, 30 Aug 2016 03:57:07 +0100 Subject: [PATCH] install: die if Xcode/CLT not up-to-date on prereleases --- Library/Homebrew/cmd/install.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index edf8093bfb..a1df8f459c 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