aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/examples
diff options
context:
space:
mode:
authorJack Nagel2011-11-27 22:40:59 -0600
committerJack Nagel2011-11-27 23:29:41 -0600
commit8b88ea3eaea716f14a0764e66cd5d08f3eab1fbf (patch)
tree37c92f0c214aefe1033f0452e1bfb3ff70360c8a /Library/Contributions/examples
parent0d08a5af00011679acd6d82714e9883f93b9fb7c (diff)
downloadbrew-8b88ea3eaea716f14a0764e66cd5d08f3eab1fbf.tar.bz2
Move brew-depstree into `brew deps --tree`
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Contributions/examples')
-rwxr-xr-xLibrary/Contributions/examples/brew-depstree.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/Library/Contributions/examples/brew-depstree.rb b/Library/Contributions/examples/brew-depstree.rb
deleted file mode 100755
index f8d6989b1..000000000
--- a/Library/Contributions/examples/brew-depstree.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-require 'formula'
-
-module Homebrew extend self
- def depstree
- ARGV.formulae.each do |f|
- puts f
- recursive_deps_tree(f, 1)
- puts
- end
- end
-
-private
- def recursive_deps_tree(formula, level)
- formula.deps.each do |dep|
- puts "> "*level+dep
- recursive_deps_tree(Formula.factory(dep), level+1)
- end
- end
-end
-
-Homebrew.depstree