aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/audit.rb
diff options
context:
space:
mode:
authorJack Nagel2011-11-29 19:54:16 -0600
committerJack Nagel2011-11-29 19:57:26 -0600
commit45a87ab8d9d0dabf80936da6e1fbf32913cf4adf (patch)
treecf32d9d095403a0a807ffda1902c08d9d34f71e9 /Library/Homebrew/cmd/audit.rb
parent7f7391243a55a6d674f6f2d4c62c5f4390468be3 (diff)
downloadbrew-45a87ab8d9d0dabf80936da6e1fbf32913cf4adf.tar.bz2
audit: warn about more "forbidden" dependencies
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
-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