formula_installer: output fetching headers.
This outputs headers for fetching to be consistent with those for installation.
This commit is contained in:
parent
001bacee18
commit
5e7c19c8cb
@ -1161,6 +1161,10 @@ class FormulaInstaller
|
|||||||
deps = compute_dependencies
|
deps = compute_dependencies
|
||||||
return if deps.empty?
|
return if deps.empty?
|
||||||
|
|
||||||
|
oh1 "Fetching dependencies for #{formula.full_name}: " \
|
||||||
|
"#{deps.map(&:first).map(&Formatter.method(:identifier)).to_sentence}",
|
||||||
|
truncate: false
|
||||||
|
|
||||||
deps.each { |dep, _options| fetch_dependency(dep) }
|
deps.each { |dep, _options| fetch_dependency(dep) }
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1172,6 +1176,8 @@ class FormulaInstaller
|
|||||||
|
|
||||||
return if only_deps?
|
return if only_deps?
|
||||||
|
|
||||||
|
oh1 "Fetching #{Formatter.identifier(formula.full_name)}".strip
|
||||||
|
|
||||||
if pour_bottle?(output_warning: true)
|
if pour_bottle?(output_warning: true)
|
||||||
formula.fetch_bottle_tab
|
formula.fetch_bottle_tab
|
||||||
elsif formula.core_formula? && Homebrew::EnvConfig.install_from_api?
|
elsif formula.core_formula? && Homebrew::EnvConfig.install_from_api?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user