Renames and formatting
MODIFY
include/vcpkg_Dependencies.h
include/vcpkg_Dependencies.h
@@ -16,8 +16,8 @@ namespace vcpkg::Dependencies
struct install_plan_action
{
install_plan_type type;
- std::unique_ptr<BinaryParagraph> bpgh;
- std::unique_ptr<SourceParagraph> spgh;
+ std::unique_ptr<BinaryParagraph> binary_pgh;
+ std::unique_ptr<SourceParagraph> source_pgh;
};
struct package_spec_with_install_plan

MODIFY
src/commands_install.cpp
src/commands_install.cpp
@@ -214,14 +214,14 @@ namespace vcpkg::Commands::Install
}
else if (action.plan.type == install_plan_type::BUILD_AND_INSTALL)
{
- Commands::Build::build_package(*action.plan.spgh, action.spec, paths, paths.port_dir(action.spec));
+ Commands::Build::build_package(*action.plan.source_pgh, action.spec, paths, paths.port_dir(action.spec));
const BinaryParagraph bpgh = try_load_cached_package(paths, action.spec).get_or_throw();
install_package(paths, bpgh, status_db);
System::println(System::color::success, "Package %s is installed", action.spec);
}
else if (action.plan.type == install_plan_type::INSTALL)
{
- install_package(paths, *action.plan.bpgh, status_db);
+ install_package(paths, *action.plan.binary_pgh, status_db);
System::println(System::color::success, "Package %s is installed", action.spec);
}
else

Renames and formatting