formula: add signature for bottle DSL
This commit is contained in:
parent
1c5ba1f685
commit
88a8def34c
@ -2695,6 +2695,7 @@ class Formula
|
|||||||
# The methods below define the formula DSL.
|
# The methods below define the formula DSL.
|
||||||
class << self
|
class << self
|
||||||
extend Predicable
|
extend Predicable
|
||||||
|
extend T::Sig
|
||||||
include BuildEnvironment::DSL
|
include BuildEnvironment::DSL
|
||||||
include OnSystem::MacOSAndLinux
|
include OnSystem::MacOSAndLinux
|
||||||
|
|
||||||
@ -2903,8 +2904,9 @@ class Formula
|
|||||||
#
|
#
|
||||||
# Formulae which should not be bottled should be tagged with:
|
# Formulae which should not be bottled should be tagged with:
|
||||||
# <pre>bottle :disable, "reasons"</pre>
|
# <pre>bottle :disable, "reasons"</pre>
|
||||||
def bottle(*args, &block)
|
sig { params(block: T.proc.bind(BottleSpecification).void).void }
|
||||||
stable.bottle(*args, &block)
|
def bottle(&block)
|
||||||
|
stable.bottle(&block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# @private
|
# @private
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user