aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-03 16:22:32 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-04 16:44:44 -0700
commit39d6688e028d9831ac7c8c914c80d150b2e10cb2 (patch)
tree5e87c4aa0f89b3148484f445bb7feec0fc003ef6 /toolsrc/src/commands_install.cpp
parent1d8099fd8cdad4ebbd8297a474bc7c7c0768660e (diff)
downloadvcpkg-39d6688e028d9831ac7c8c914c80d150b2e10cb2.tar.gz
vcpkg-39d6688e028d9831ac7c8c914c80d150b2e10cb2.zip
install_plan_type -> InstallPlanType
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index 3ff73e764..227f60a9f 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -12,7 +12,7 @@
namespace vcpkg::Commands::Install
{
using Dependencies::package_spec_with_install_plan;
- using Dependencies::install_plan_type;
+ using Dependencies::InstallPlanType;
static void install_and_write_listfile(const vcpkg_paths& paths, const BinaryParagraph& bpgh)
{
@@ -217,14 +217,14 @@ namespace vcpkg::Commands::Install
{
try
{
- if (action.plan.plan_type == install_plan_type::ALREADY_INSTALLED)
+ if (action.plan.plan_type == InstallPlanType::ALREADY_INSTALLED)
{
if (std::find(specs.begin(), specs.end(), action.spec) != specs.end())
{
System::println(System::color::success, "Package %s is already installed", action.spec);
}
}
- else if (action.plan.plan_type == install_plan_type::BUILD_AND_INSTALL)
+ else if (action.plan.plan_type == InstallPlanType::BUILD_AND_INSTALL)
{
const Build::BuildResult result = Commands::Build::build_package(action.plan.source_pgh.value_or_exit(VCPKG_LINE_INFO),
action.spec,
@@ -241,7 +241,7 @@ namespace vcpkg::Commands::Install
install_package(paths, bpgh, &status_db);
System::println(System::color::success, "Package %s is installed", action.spec);
}
- else if (action.plan.plan_type == install_plan_type::INSTALL)
+ else if (action.plan.plan_type == InstallPlanType::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", action.spec);