From 22165c649ca2c5ef216ae3f99fbfb2dc0fff99ab Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 30 Aug 2021 23:24:52 +0300 Subject: Make pkg-build to accept multiple current configurations --- bpkg/pkg-build.cli | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) (limited to 'bpkg/pkg-build.cli') diff --git a/bpkg/pkg-build.cli b/bpkg/pkg-build.cli index 2ae2948..6667053 100644 --- a/bpkg/pkg-build.cli +++ b/bpkg/pkg-build.cli @@ -1,7 +1,7 @@ // file : bpkg/pkg-build.cli // license : MIT; see accompanying LICENSE file -include ; +include ; "\section=1" "\name=bpkg-pkg-build" @@ -255,29 +255,32 @@ namespace bpkg \l{bpkg-pkg-checkout(1)} for details." } - string --config-name + strings --config-name { - "", + "", "Name of the linked configuration to build this package(s) in. By - default, the package is built in the current configuration." + default, the package is built in the current configuration. Repeat + this option to specify multiple configurations." } - uint64_t --config-id + vector --config-id { - "", + "", "Numeric id of the linked configuration to build this package(s) in. By - default, the package is built in the current configuration." + default, the package is built in the current configuration. Repeat this + option to specify multiple configurations." } - uuid --config-uuid + vector --config-uuid { "", "UUID of the linked configuration to build this package(s) in. By - default, the package is built in the current configuration." + default, the package is built in the current configuration. Repeat this + this option to specify multiple configurations." } }; - class pkg_build_options: configuration_options, + class pkg_build_options: common_options, pkg_build_pkg_options { "\h|PKG-BUILD GLOBAL OPTIONS|" @@ -379,6 +382,22 @@ namespace bpkg See \l{bpkg-cfg-create(1)} for details on linked configurations." } + + bool --no-move + { + "Don't move dependency packages between configurations. In this mode the + \cb{--config-*} options specify packages' current rather than new + locations." + } + + dir_paths --directory|-d + { + "", + "Assume current configuration is in rather than in the current + working directory. Repeat this option to specify multiple current + configurations. If multiple configurations are specified, they must + belong to the same linked configuration cluster." + } }; " -- cgit v1.1