Add default #uses_from_macos behaviour to Formula

This commit is contained in:
Gabriel 2019-05-22 14:08:55 -03:00
parent f2abaf6862
commit 79808638a6

View File

@ -2360,6 +2360,10 @@ class Formula
specs.each { |spec| spec.depends_on(dep) }
end
def uses_from_macos(dep, **args)
depends_on(dep)
end
# @!attribute [w] option
# Options can be used as arguments to `brew install`.
# To switch features on/off: `"with-something"` or `"with-otherthing"`.