aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_ci.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-07 16:11:08 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-07 16:22:35 -0700
commite8dbe3ec4c6b15030bbc8d79162a04c69e06482f (patch)
treebd2e7d698f8c3260f329f37815bc8facd312c1c8 /toolsrc/src/commands_ci.cpp
parent8b59a289f2acbd27e6f7202cb3cc36c3000cc585 (diff)
downloadvcpkg-e8dbe3ec4c6b15030bbc8d79162a04c69e06482f.tar.gz
vcpkg-e8dbe3ec4c6b15030bbc8d79162a04c69e06482f.zip
`vcpkg ci` Update strings, similarly to `vcpkg install`
Diffstat (limited to 'toolsrc/src/commands_ci.cpp')
-rw-r--r--toolsrc/src/commands_ci.cpp9
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);