From 40e4d161fa319a443c2598ddbc74b8ad31220c68 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 Nov 2022 22:14:53 +0300 Subject: Add support for package-config task manifest value --- libbbot/manifest.hxx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'libbbot/manifest.hxx') diff --git a/libbbot/manifest.hxx b/libbbot/manifest.hxx index 7ba53cb..13b1138 100644 --- a/libbbot/manifest.hxx +++ b/libbbot/manifest.hxx @@ -183,7 +183,12 @@ namespace bbot // // Note: could be quoted. // - strings config; + strings target_config; + + // Whitespace separated list of potentially double/single-quoted package + // configuration arguments for bpkg-pkg-build command. + // + std::string package_config; // If true, then this configuration is self-hosted. // @@ -200,7 +205,7 @@ namespace bbot butl::optional worker_checksum; strings - unquoted_config () const; + unquoted_target_config () const; strings unquoted_warning_regex () const; @@ -215,7 +220,8 @@ namespace bbot std::string mn, butl::target_triplet tg, butl::optional en, - strings cf, + strings tc, + std::string pc, butl::optional ht, strings wr, butl::optional ir, @@ -230,7 +236,8 @@ namespace bbot machine (std::move (mn)), target (std::move (tg)), environment (std::move (en)), - config (std::move (cf)), + target_config (std::move (tc)), + package_config (std::move (pc)), host (std::move (ht)), warning_regex (std::move (wr)), interactive (std::move (ir)), -- cgit v1.1