audit: only check undeclared deps for standard installations. (#576)
In fact, we don't really care about undeclared dependencies for optional installations. Because, this is mainly used to help us to detect breakage for bottles so we can do a revision bump.
This commit is contained in:
parent
2b9a2833bc
commit
cd2288a561
@ -71,6 +71,9 @@ module FormulaCellarChecks
|
||||
EOS
|
||||
end
|
||||
|
||||
# only check undeclared deps for standard installations.
|
||||
return unless formula.build.used_options.empty?
|
||||
|
||||
if checker.undeclared_deps?
|
||||
audit_check_output <<-EOS.undent
|
||||
Formulae are required to declare all linked dependencies.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user