Commit 0650459d authored by Stephen Hayes's avatar Stephen Hayes

Greenify success message

Fixes #5713
parent 93e847fd
...@@ -478,10 +478,12 @@ module Pod ...@@ -478,10 +478,12 @@ module Pod
def print_post_install_message def print_post_install_message
podfile_dependencies = podfile.dependencies.uniq.size podfile_dependencies = podfile.dependencies.uniq.size
pods_installed = root_specs.size pods_installed = root_specs.size
UI.info('Pod installation complete! ' \ title_options = { :verbose_prefix => '-> '.green }
UI.titled_section('Pod installation complete! ' \
"There #{podfile_dependencies == 1 ? 'is' : 'are'} #{podfile_dependencies} " \ "There #{podfile_dependencies == 1 ? 'is' : 'are'} #{podfile_dependencies} " \
"#{'dependency'.pluralize(podfile_dependencies)} from the Podfile " \ "#{'dependency'.pluralize(podfile_dependencies)} from the Podfile " \
"and #{pods_installed} total #{'pod'.pluralize(pods_installed)} installed.") "and #{pods_installed} total #{'pod'.pluralize(pods_installed)} installed.".green,
title_options)
end end
# Runs the registered callbacks for the plugins post install hooks. # Runs the registered callbacks for the plugins post install hooks.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment