aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-11-29 19:54:16 -0600
committerJack Nagel2011-11-29 19:57:26 -0600
commit28da63e4f334b4dcf7a41ec8b04f4be4c1ced880 (patch)
tree63203afd163b58331af0bba9da8ab2ef49b8c3f7 /Library
parentead6a69541fe0ddd6193e816cbe0d4706bb74dd2 (diff)
downloadhomebrew-28da63e4f334b4dcf7a41ec8b04f4be4c1ced880.tar.bz2
audit: warn about more "forbidden" dependencies
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 761d3f643..7888de581 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -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