audit: warn about more "forbidden" dependencies
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
7f7391243a
commit
45a87ab8d9
@ -256,7 +256,7 @@ def audit_formula_instance f
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Check for things we don't like to depend on.
|
# 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|
|
f.deps.each do |d|
|
||||||
begin
|
begin
|
||||||
dep_f = Formula.factory d
|
dep_f = Formula.factory d
|
||||||
@ -265,8 +265,8 @@ def audit_formula_instance f
|
|||||||
end
|
end
|
||||||
|
|
||||||
case d
|
case d
|
||||||
when "git"
|
when "git", "python", "ruby", "emacs"
|
||||||
problems << " * Don't use Git as a dependency; we allow non-Homebrew git installs."
|
problems << " * Don't use #{d} as a dependency; we allow non-Homebrew #{d} installs."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user