aboutsummaryrefslogtreecommitdiff
path: root/build-mingw.bat.in
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-11-16 23:38:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-11-17 18:49:58 +0300
commit3860ef4ca137e121aa7f7ba1ff5e531d0acfef12 (patch)
treeb283df355683ebc009f0e3643c7db825ba8cd0b4 /build-mingw.bat.in
parent088c7148422b9bb28c0ec54d9e76ec23c9c1ef47 (diff)
Make use of bpkg --all-pattern option in build scripts and installation documentation
Diffstat (limited to 'build-mingw.bat.in')
-rw-r--r--build-mingw.bat.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/build-mingw.bat.in b/build-mingw.bat.in
index 86c35bf..3289bd3 100644
--- a/build-mingw.bat.in
+++ b/build-mingw.bat.in
@@ -511,21 +511,19 @@ bdep --version
@rem Build, install, and verify the build system modules.
@rem
@set "packages="
-@set "package_versions="
@set "tests="
@for %%m in (%modules%) do @(
- set "packages=!packages! libbuild2-%%m"
- set "package_versions=!package_versions! libbuild2-%%m/!%%m_ver!"
+ set "packages=!packages! libbuild2-%%m/!%%m_ver!"
set "tests=!tests! tests\libbuild2-%%m-tests\"
)
@if "_%packages%_" == "__" goto mods_ipe
-bpkg build --for install %package_versions:~1%
+bpkg build --for install %packages:~1%
@if errorlevel 1 goto error
-bpkg install %packages:~1%
+bpkg install --all-pattern=libbuild2-*
@if errorlevel 1 goto error
:mods_ipe