From 440ad866c75f9c24d49ea63df53d2f2ad0df38ca Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 31 Jan 2022 20:33:34 +0300 Subject: Add bootstrap-build and root-build package manifest values --- libbpkg/manifest.hxx | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'libbpkg/manifest.hxx') diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx index 499d64d..364255b 100644 --- a/libbpkg/manifest.hxx +++ b/libbpkg/manifest.hxx @@ -783,17 +783,18 @@ namespace bpkg // enum class package_manifest_flags: std::uint16_t { - none = 0x00, - - forbid_file = 0x01, // Forbid *-file manifest values. - forbid_location = 0x02, - forbid_sha256sum = 0x04, - forbid_fragment = 0x08, - forbid_incomplete_dependencies = 0x10, - - require_location = 0x20, - require_sha256sum = 0x40, - require_description_type = 0x80 + none = 0x000, + + forbid_file = 0x001, // Forbid *-file manifest values. + forbid_location = 0x002, + forbid_sha256sum = 0x004, + forbid_fragment = 0x008, + forbid_incomplete_dependencies = 0x010, + + require_location = 0x020, + require_sha256sum = 0x040, + require_description_type = 0x080, + require_bootstrap_build = 0x100 }; inline package_manifest_flags @@ -1063,6 +1064,9 @@ namespace bpkg butl::small_vector builds; std::vector build_constraints; + butl::optional bootstrap_build; + butl::optional root_build; + // The following values are only valid in the manifest list (and only for // certain repository types). // -- cgit v1.1