diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-07 15:07:49 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-07 15:45:14 -0700 |
| commit | 687e1d6a1baf141fffe490c23e3fe3512dec3840 (patch) | |
| tree | 4cc7de801aafb285fd3a8b633d318cb42bbf7836 /toolsrc/src/commands_install.cpp | |
| parent | 75838ddbcca047cb6bd63a5e4a04efba2dc1ab3f (diff) | |
| download | vcpkg-687e1d6a1baf141fffe490c23e3fe3512dec3840.tar.gz vcpkg-687e1d6a1baf141fffe490c23e3fe3512dec3840.zip | |
`vcpkg install` improve status message
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
| -rw-r--r-- | toolsrc/src/commands_install.cpp | 6 |
1 files 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); |
