From e8dbe3ec4c6b15030bbc8d79162a04c69e06482f Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Fri, 7 Apr 2017 16:11:08 -0700 Subject: `vcpkg ci` Update strings, similarly to `vcpkg install` --- toolsrc/src/commands_ci.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'toolsrc/src') 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); -- cgit v1.2.3