Skip to content
Snippets Groups Projects
Commit b38f5b3e authored by Mike McQuaid's avatar Mike McQuaid
Browse files

diagnostic: only make minimum Xcode/CLT version checks fatal.

Also: freeze the relevant arrays.
parent 6359c75a
No related branches found
No related tags found
No related merge requests found
......@@ -86,12 +86,13 @@ module Homebrew
def development_tools_checks
%w[
check_for_installed_developer_tools
]
].freeze
end
def fatal_development_tools_checks
%w[
]
].freeze
end
end
def check_for_installed_developer_tools
......
......@@ -10,19 +10,18 @@ module Homebrew
check_xcode_license_approved
check_for_osx_gcc_installer
check_xcode_8_without_clt_on_el_capitan
]
check_xcode_up_to_date
check_clt_up_to_date
check_for_other_package_managers
].freeze
end
def fatal_development_tools_checks
if MacOS.version >= :sierra && ENV["CI"].nil?
%w[
check_xcode_up_to_date
check_clt_up_to_date
]
else
%w[
]
end
%w[
check_xcode_minimum_version
check_clt_minimum_version
].freeze
end
end
def check_for_unsupported_macos
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment