`install command` Add status for the building phase
MODIFY
src/commands_install.cpp
src/commands_install.cpp
@@ -290,6 +290,7 @@ namespace vcpkg::Commands::Install
break;
case InstallPlanType::BUILD_AND_INSTALL:
{
+ System::println("Building package %s... ", action.spec);
const Build::BuildResult result = Commands::Build::build_package(action.plan.source_pgh.value_or_exit(VCPKG_LINE_INFO),
action.spec,
paths,
@@ -301,6 +302,8 @@ namespace vcpkg::Commands::Install
System::println(Build::create_user_troubleshooting_message(action.spec));
Checks::exit_fail(VCPKG_LINE_INFO);
}
+ System::println(System::Color::success, "Building package %s... done", action.spec);
+
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);

`install command` Add status for the building phase