diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-07 16:11:08 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-07 16:22:35 -0700 |
| commit | e8dbe3ec4c6b15030bbc8d79162a04c69e06482f (patch) | |
| tree | bd2e7d698f8c3260f329f37815bc8facd312c1c8 | |
| parent | 8b59a289f2acbd27e6f7202cb3cc36c3000cc585 (diff) | |
| download | vcpkg-e8dbe3ec4c6b15030bbc8d79162a04c69e06482f.tar.gz vcpkg-e8dbe3ec4c6b15030bbc8d79162a04c69e06482f.zip | |
`vcpkg ci` Update strings, similarly to `vcpkg install`
| -rw-r--r-- | toolsrc/src/commands_ci.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/toolsrc/src/commands_ci.cpp b/toolsrc/src/commands_ci.cpp index 36e0d7abc..c7aba439a 100644 --- a/toolsrc/src/commands_ci.cpp +++ b/toolsrc/src/commands_ci.cpp @@ -64,6 +64,7 @@ namespace vcpkg::Commands::CI break; case InstallPlanType::BUILD_AND_INSTALL: { + System::println("Building package %s... ", display_name); const BuildResult result = Commands::Build::build_package(action.plan.source_pgh.value_or_exit(VCPKG_LINE_INFO), action.spec, paths, @@ -76,15 +77,19 @@ namespace vcpkg::Commands::CI System::println(System::Color::error, Build::create_error_message(result, action.spec)); continue; } + System::println(System::Color::success, "Building package %s... done", display_name); + const BinaryParagraph bpgh = Paragraphs::try_load_cached_package(paths, action.spec).value_or_exit(VCPKG_LINE_INFO); + System::println("Installing package %s... ", display_name); Install::install_package(paths, bpgh, &status_db); - System::println(System::Color::success, "Package %s is installed", display_name); + System::println(System::Color::success, "Installing package %s... done", display_name); break; } case InstallPlanType::INSTALL: results.back() = BuildResult::SUCCEEDED; + System::println("Installing package %s... ", display_name); Install::install_package(paths, action.plan.binary_pgh.value_or_exit(VCPKG_LINE_INFO), &status_db); - System::println(System::Color::success, "Package %s is installed from cache", display_name); + System::println(System::Color::success, "Installing package %s... done", display_name); break; default: Checks::unreachable(VCPKG_LINE_INFO); |
