diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-02 17:52:59 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-02 17:52:59 -0700 |
| commit | f10861fa7af9bd675cb4e80ea31d85d7e5c6d906 (patch) | |
| tree | 7d3e91d469246b20ac651c24ec123184bc4b8e09 /toolsrc/src/commands_ci.cpp | |
| parent | 8c1b8b5ed7485079730dfe3d93416feba5f74d04 (diff) | |
| download | vcpkg-f10861fa7af9bd675cb4e80ea31d85d7e5c6d906.tar.gz vcpkg-f10861fa7af9bd675cb4e80ea31d85d7e5c6d906.zip | |
[vcpkg] Reduce arguments to build_package() by bundling
Diffstat (limited to 'toolsrc/src/commands_ci.cpp')
| -rw-r--r-- | toolsrc/src/commands_ci.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toolsrc/src/commands_ci.cpp b/toolsrc/src/commands_ci.cpp index 398f6a5f4..e9755335c 100644 --- a/toolsrc/src/commands_ci.cpp +++ b/toolsrc/src/commands_ci.cpp @@ -72,8 +72,10 @@ namespace vcpkg::Commands::CI { System::println("Building package %s... ", display_name); auto&& source_paragraph = action.any_paragraph.source_paragraph.value_or_exit(VCPKG_LINE_INFO); - const auto result_ex = Build::build_package( - source_paragraph, action.spec, paths, paths.port_dir(action.spec), status_db); + const Build::BuildPackageConfig build_config{ + source_paragraph, action.spec.triplet(), paths.port_dir(action.spec), + }; + const auto result_ex = Build::build_package(paths, build_config, status_db); const auto result = result_ex.code; timing.back() = build_timer.to_string(); |
