aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-05 10:39:00 -0400
committerMike McQuaid2016-11-05 10:58:39 -0400
commit262eaca56e9efbb21a20be2fe83af563c9b9289e (patch)
tree0267c022ba8a6124d29f5549ad7b1b4d88f3da8b /Library
parentb38f5b3e7d597fe8fa9611f142ac253b94614c88 (diff)
downloadbrew-262eaca56e9efbb21a20be2fe83af563c9b9289e.tar.bz2
diagnostic: add build error checks.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/diagnostic.rb4
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb5
2 files changed, 9 insertions, 0 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index 23c626edd..63ac008f0 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -93,6 +93,10 @@ module Homebrew
%w[
].freeze
end
+
+ def build_error_checks
+ (development_tools_checks + %w[
+ ]).freeze
end
def check_for_installed_developer_tools
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index a60dd2d05..0f37e8af5 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -22,6 +22,11 @@ module Homebrew
check_clt_minimum_version
].freeze
end
+
+ def build_error_checks
+ (development_tools_checks + %w[
+ check_for_unsupported_macos
+ ]).freeze
end
def check_for_unsupported_macos