Skip to content
Snippets Groups Projects
Commit 3c7837e5 authored by Jack Nagel's avatar Jack Nagel
Browse files

audit: check for missing xz build-time dep

Closes Homebrew/homebrew#17565.
parent 66d91ac0
No related branches found
No related tags found
No related merge requests found
......@@ -222,6 +222,10 @@ class FormulaAuditor
if urls.any? { |p| p =~ %r[^git://github\.com/] }
problem "Use https:// URLs for accessing GitHub repositories."
end
if urls.any? { |u| u =~ /\.xz/ } && !f.deps.any? { |d| d.name == "xz" }
problem "Missing a build-time dependency on 'xz'"
end
end
def audit_specs
......
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