formula: add signature for bottle DSL

This commit is contained in:
Bo Anderson 2022-08-31 19:47:19 +01:00
parent 1c5ba1f685
commit 88a8def34c
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -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