diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-29 18:39:34 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-31 19:13:24 +0300 |
commit | b3633d94b0ec44575c7bbc0a741bf0e388beba72 (patch) | |
tree | 65433d99e6e95782ff0805ae18afcbaf2ba726e5 /libbbot/manifest.hxx | |
parent | 3b154abeabf1563c098a3296f4981ce86ec5b07f (diff) |
Add support for environment task manifest value
Diffstat (limited to 'libbbot/manifest.hxx')
-rw-r--r-- | libbbot/manifest.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libbbot/manifest.hxx b/libbbot/manifest.hxx index 46cd6c4..73d8c9a 100644 --- a/libbbot/manifest.hxx +++ b/libbbot/manifest.hxx @@ -120,7 +120,9 @@ namespace bbot std::string machine; // Build machine to use for building the package. - butl::target_triplet target; + butl::target_triplet target; // Build target. + + butl::optional<std::string> environment; // Build environment name. // Build system configuration variables (in addition to build environment // configuration variables). @@ -146,6 +148,7 @@ namespace bbot strings tr, std::string mn, butl::target_triplet tg, + butl::optional<std::string> en, strings cf, strings wr) : name (std::move (nm)), @@ -154,6 +157,7 @@ namespace bbot trust (tr), machine (std::move (mn)), target (std::move (tg)), + environment (std::move (en)), config (std::move (cf)), warning_regex (std::move (wr)){} |