Skip to content
Snippets Groups Projects
Commit cd2288a5 authored by Xu Cheng's avatar Xu Cheng Committed by GitHub
Browse files

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.
parent 2b9a2833
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment