From 687e1d6a1baf141fffe490c23e3fe3512dec3840 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Fri, 7 Apr 2017 15:07:49 -0700 Subject: [PATCH] `vcpkg install` improve status message --- toolsrc/src/commands_install.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp index 9bf4b3120..f5e5b42c0 100644 --- a/toolsrc/src/commands_install.cpp +++ b/toolsrc/src/commands_install.cpp @@ -304,13 +304,15 @@ namespace vcpkg::Commands::Install Checks::exit_fail(VCPKG_LINE_INFO); } const BinaryParagraph bpgh = Paragraphs::try_load_cached_package(paths, action.spec).value_or_exit(VCPKG_LINE_INFO); + System::println("Installing package %s... ", action.spec); install_package(paths, bpgh, &status_db); - System::println(System::Color::success, "Package %s is installed", action.spec); + System::println(System::Color::success, "Installing package %s... done", action.spec); } else if (action.plan.plan_type == InstallPlanType::INSTALL) { + System::println("Installing package %s... ", action.spec); install_package(paths, action.plan.binary_pgh.value_or_exit(VCPKG_LINE_INFO), &status_db); - System::println(System::Color::success, "Package %s is installed", action.spec); + System::println(System::Color::success, "Installing package %s... done", action.spec); } else Checks::unreachable(VCPKG_LINE_INFO);