aboutsummaryrefslogtreecommitdiff
path: root/bbot
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-13 16:14:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-13 16:14:49 +0300
commit75b851ff3012f2e6700daf5f9716c536b6ecc887 (patch)
tree9bf6f706b9087b5c6022711722c44112b3275806 /bbot
parentb95bdf4b619a59b11b84d8e60fc430ad283eef12 (diff)
Add ctor for task_manifest
Diffstat (limited to 'bbot')
-rw-r--r--bbot/manifest13
1 files changed, 13 insertions, 0 deletions
diff --git a/bbot/manifest b/bbot/manifest
index c5a321a..51b0b8b 100644
--- a/bbot/manifest
+++ b/bbot/manifest
@@ -93,6 +93,19 @@ namespace bbot
//
variables config;
+ task_manifest (std::string n,
+ bpkg::version v,
+ bpkg::repository_location r,
+ std::string m,
+ butl::optional<butl::target_triplet> t,
+ variables c)
+ : name (std::move (n)),
+ version (std::move (v)),
+ repository (std::move (r)),
+ machine (std::move (m)),
+ target (std::move (t)),
+ config (std::move (c)) {}
+
public:
task_manifest () = default; // VC export.
task_manifest (butl::manifest_parser&, bool ignore_unknown = false);