aboutsummaryrefslogtreecommitdiff
path: root/bbot/bootstrap-manifest
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/bootstrap-manifest')
-rw-r--r--bbot/bootstrap-manifest15
1 files changed, 14 insertions, 1 deletions
diff --git a/bbot/bootstrap-manifest b/bbot/bootstrap-manifest
index c29406a..6007c6e 100644
--- a/bbot/bootstrap-manifest
+++ b/bbot/bootstrap-manifest
@@ -26,6 +26,9 @@ namespace bbot
//
string id;
+ explicit
+ toolchain_manifest (string i): id (i) {}
+
public:
toolchain_manifest () = default; // VC export.
toolchain_manifest (butl::manifest_parser&, bool ignore_unknown = false);
@@ -51,7 +54,12 @@ namespace bbot
// libbbot-version: 1010100 # 1.1.1
// bbot-version: 1010200 # 1.1.2
//
- std::map<string, uint64_t> versions;
+ using versions_type = std::map<string, uint64_t>;
+ versions_type versions;
+
+ explicit
+ bootstrap_manifest (versions_type v)
+ : versions (move (v)) {}
public:
bootstrap_manifest () = default; // VC export.
@@ -74,6 +82,11 @@ namespace bbot
toolchain_manifest toolchain;
bootstrap_manifest bootstrap;
+ bootstrapped_machine_manifest (machine_manifest m,
+ toolchain_manifest t,
+ bootstrap_manifest b)
+ : machine (move (m)), toolchain (move (t)), bootstrap (move (b)) {}
+
public:
bootstrapped_machine_manifest () = default; // VC export.
bootstrapped_machine_manifest (butl::manifest_parser&,