Skip to content
Snippets Groups Projects
Commit 14353b54 authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

brew-audit: add check for git and fix warnings

parent 53cf7e84
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,15 @@ def audit_formula_instance f
problems << " * Dep #{d} is an alias; switch to the real name."
end
# Check for things we don't like to depend on.
# We allow non-Homebrew installs whenenever possible.
f.deps.each do |d|
case d
when "git"
problems << " * Don't use Git as a dependency; we allow non-Homebrew git installs."
end
end
# Google Code homepages should end in a slash
if f.homepage =~ %r[^https?://code\.google\.com/p/[^/]+[^/]$]
problems << " * Google Code homepage should end with a slash."
......
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