mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 13:37:55 +08:00
vcpkg install
improve status message
This commit is contained in:
parent
75838ddbcc
commit
687e1d6a1b
@ -304,13 +304,15 @@ namespace vcpkg::Commands::Install
|
||||
Checks::exit_fail(VCPKG_LINE_INFO);
|
||||
}
|
||||
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);
|
||||
System::println(System::Color::success, "Package %s is installed", action.spec);
|
||||
System::println(System::Color::success, "Installing package %s... done", action.spec);
|
||||
}
|
||||
else if (action.plan.plan_type == InstallPlanType::INSTALL)
|
||||
{
|
||||
System::println("Installing package %s... ", action.spec);
|
||||
install_package(paths, action.plan.binary_pgh.value_or_exit(VCPKG_LINE_INFO), &status_db);
|
||||
System::println(System::Color::success, "Package %s is installed", action.spec);
|
||||
System::println(System::Color::success, "Installing package %s... done", action.spec);
|
||||
}
|
||||
else
|
||||
Checks::unreachable(VCPKG_LINE_INFO);
|
||||
|
Loading…
x
Reference in New Issue
Block a user