audit: warn about more "forbidden" dependencies

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2011-11-29 19:54:16 -06:00
parent 7f7391243a
commit 45a87ab8d9

View File

@ -256,7 +256,7 @@ def audit_formula_instance f
end
# Check for things we don't like to depend on.
# We allow non-Homebrew installs whenenever possible.
# We allow non-Homebrew installs whenever possible.
f.deps.each do |d|
begin
dep_f = Formula.factory d
@ -265,8 +265,8 @@ def audit_formula_instance f
end
case d
when "git"
problems << " * Don't use Git as a dependency; we allow non-Homebrew git installs."
when "git", "python", "ruby", "emacs"
problems << " * Don't use #{d} as a dependency; we allow non-Homebrew #{d} installs."
end
end