diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-01-31 20:33:34 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-02 20:13:52 +0300 |
commit | 440ad866c75f9c24d49ea63df53d2f2ad0df38ca (patch) | |
tree | 5bafcafc559a076f4d6596ba748157428e8f9790 /libbpkg/manifest.hxx | |
parent | 384ee407d3b83333c6c9c9902dcd952e191e4ba1 (diff) |
Add bootstrap-build and root-build package manifest values
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r-- | libbpkg/manifest.hxx | 26 |
1 files changed, 15 insertions, 11 deletions
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<build_class_expr, 1> builds; std::vector<build_constraint> build_constraints; + butl::optional<std::string> bootstrap_build; + butl::optional<std::string> root_build; + // The following values are only valid in the manifest list (and only for // certain repository types). // |