formula_support: deprecate bottle :unneeded/:disabled in 3.3.0
We'll no longer need this DSL so let's move towards deprecation.
This commit is contained in:
parent
eec2d609bd
commit
c37794e653
@ -69,6 +69,9 @@ class BottleDisableReason
|
|||||||
def initialize(type, reason)
|
def initialize(type, reason)
|
||||||
@type = type
|
@type = type
|
||||||
@reason = reason
|
@reason = reason
|
||||||
|
# TODO: 3.3.0 should deprecate this behaviour as it was only needed for
|
||||||
|
# Homebrew/core (where we don't want unneeded or disabled bottles any more)
|
||||||
|
# odeprecated "bottle :#{@type}" if valid?
|
||||||
end
|
end
|
||||||
|
|
||||||
def unneeded?
|
def unneeded?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user