From 9f162f1c93009f3a8139c4b3e72d6bbd0c1c4dce Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 Sep 2021 08:07:07 +0200 Subject: Add pkg-build --rebuild-checksum option --- bpkg/pkg-build.cli | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'bpkg/pkg-build.cli') diff --git a/bpkg/pkg-build.cli b/bpkg/pkg-build.cli index ba9bf47..f9cee12 100644 --- a/bpkg/pkg-build.cli +++ b/bpkg/pkg-build.cli @@ -360,6 +360,13 @@ namespace bpkg is otherwise a noop (performs no new package builds, upgrades, etc)." } + bool --no-move + { + "Don't move dependency packages between configurations. In this mode the + \cb{--config-*} options specify packages' current rather than new + locations." + } + uint16_t --noop-exit { "", @@ -368,6 +375,17 @@ namespace bpkg (performs no new package builds, upgrades, etc)." } + string --rebuild-checksum + { + "", + + "Hash the names and versions of all the packages that would be built. + If the resulting checksum matches the specified, then exit without + building anything (potentially with a special error code specified + with the \cb{--noop-exit} option). Otherwise, proceed to build as + normal. In both cases, print the resulting checksum to \cb{stdout}." + } + uint16_t --no-private-config { "", @@ -389,13 +407,6 @@ 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 { "", -- cgit v1.1