Show list of dependencies prior to installing them

Closes Homebrew/homebrew#22205.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
kaizoku 2013-08-29 12:01:23 -07:00 committed by Adam Vandenberg
parent 51d1a8e3c5
commit dbce25783c

View File

@ -207,6 +207,7 @@ class FormulaInstaller
end
def install_dependencies
oh1 "Installing dependencies for #{f}: #{Tty.green}#{effective_deps.join(", ")}#{Tty.reset}" if not effective_deps.empty?
effective_deps.each do |dep|
if dep.requested?
install_dependency(dep)