aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_ci.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-03 16:31:00 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-04 16:47:00 -0700
commite401799aca7ed685f195157c37849a5b09fffca2 (patch)
tree9f805b9016e5f85992758bf080c6df0574530fe5 /toolsrc/src/commands_ci.cpp
parent898edccbdcec9345c549945187195b75a9f49212 (diff)
downloadvcpkg-e401799aca7ed685f195157c37849a5b09fffca2.tar.gz
vcpkg-e401799aca7ed685f195157c37849a5b09fffca2.zip
color -> Color
Diffstat (limited to 'toolsrc/src/commands_ci.cpp')
-rw-r--r--toolsrc/src/commands_ci.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolsrc/src/commands_ci.cpp b/toolsrc/src/commands_ci.cpp
index 472964f91..d5067ae77 100644
--- a/toolsrc/src/commands_ci.cpp
+++ b/toolsrc/src/commands_ci.cpp
@@ -58,7 +58,7 @@ namespace vcpkg::Commands::CI
if (action.plan.plan_type == InstallPlanType::ALREADY_INSTALLED)
{
results.back() = BuildResult::SUCCEEDED;
- System::println(System::color::success, "Package %s is already installed", action.spec);
+ System::println(System::Color::success, "Package %s is already installed", action.spec);
}
else if (action.plan.plan_type == InstallPlanType::BUILD_AND_INSTALL)
{
@@ -71,25 +71,25 @@ namespace vcpkg::Commands::CI
results.back() = result;
if (result != BuildResult::SUCCEEDED)
{
- System::println(System::color::error, Build::create_error_message(result, action.spec));
+ System::println(System::Color::error, Build::create_error_message(result, action.spec));
continue;
}
const BinaryParagraph bpgh = Paragraphs::try_load_cached_package(paths, action.spec).value_or_exit(VCPKG_LINE_INFO);
Install::install_package(paths, bpgh, &status_db);
- System::println(System::color::success, "Package %s is installed", action.spec);
+ System::println(System::Color::success, "Package %s is installed", action.spec);
}
else if (action.plan.plan_type == InstallPlanType::INSTALL)
{
results.back() = BuildResult::SUCCEEDED;
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", action.spec);
+ System::println(System::Color::success, "Package %s is installed from cache", action.spec);
}
else
Checks::unreachable(VCPKG_LINE_INFO);
}
catch (const std::exception& e)
{
- System::println(System::color::error, "Error: Could not install package %s: %s", action.spec, e.what());
+ System::println(System::Color::error, "Error: Could not install package %s: %s", action.spec, e.what());
results.back() = BuildResult::NULLVALUE;
}
System::println("Elapsed time for package %s: %s", action.spec, build_timer.to_string());