formula_support: add provided_pre_high_sierra keg_only

This commit is contained in:
Dominyk Tiller 2017-07-30 00:21:33 +01:00
parent 627b1dae70
commit 0a10ca61dc
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -19,6 +19,8 @@ class KegOnlyReason
MacOS.version < :mavericks
when :provided_pre_el_capitan
MacOS.version < :el_capitan
when :provided_pre_high_sierra
MacOS.version < :high_sierra
when :provided_until_xcode43
MacOS::Xcode.installed? && MacOS::Xcode.version < "4.3"
when :provided_until_xcode5
@ -51,6 +53,9 @@ class KegOnlyReason
when :provided_pre_el_capitan then <<-EOS.undent
macOS already provides this software in versions before El Capitan
EOS
when :provided_pre_high_sierra then <<-EOS.undent
macOS already provides this software in versions before High Sierra
EOS
when :provided_until_xcode43 then <<-EOS.undent
Xcode provides this software prior to version 4.3
EOS