diff options
| author | Dominyk Tiller | 2016-08-30 03:57:07 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2016-08-30 05:10:59 +0100 |
| commit | 921aa015760a0b85345efd8fb921537499657872 (patch) | |
| tree | 32de7e288bffedb665b0912ca25a99c704bacd11 /Library/Homebrew/cmd | |
| parent | 1408b5ffd4dfbac840580ea9946237d8164941d8 (diff) | |
| download | brew-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.rb | 6 |
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 |
