aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMichael Stephens2009-10-17 02:46:39 -0400
committerMax Howell2009-10-19 04:02:49 +0100
commit39a02010a79a7d4e2561580220b5d9791ce17fd4 (patch)
treeb6ce29ef05d6fa2710d1e05b3591ec5763b5ea75 /Library
parent88192206fcc8c54c709164bfe66f6f759b150bd2 (diff)
downloadhomebrew-39a02010a79a7d4e2561580220b5d9791ce17fd4.tar.bz2
Add dependencies to 'brew info' output
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.h.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb
index 2689f3c09..f02ea8731 100644
--- a/Library/Homebrew/brew.h.rb
+++ b/Library/Homebrew/brew.h.rb
@@ -137,6 +137,10 @@ def info name
puts "#{f.name} #{f.version}"
puts f.homepage
+ if not f.deps.empty?
+ puts "Depends on: #{f.deps.join(', ')}"
+ end
+
if f.prefix.parent.directory?
kids=f.prefix.parent.children
kids.each do |keg|