aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/manifest.cxx')
-rw-r--r--bpkg/manifest.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/bpkg/manifest.cxx b/bpkg/manifest.cxx
index 107c2fe..2236d3a 100644
--- a/bpkg/manifest.cxx
+++ b/bpkg/manifest.cxx
@@ -848,6 +848,15 @@ namespace bpkg
package_email = email_type (move (v), move (c));
}
+ else if (n == "build-email")
+ {
+ if (build_email)
+ bad_name ("build email redefinition");
+
+ string c (split_comment (v));
+
+ build_email = email_type (move (v), move (c));
+ }
else if (n == "priority")
{
if (priority)
@@ -1242,6 +1251,10 @@ namespace bpkg
s.next ("package-email",
add_comment (*package_email, package_email->comment));
+ if (build_email)
+ s.next ("build-email",
+ add_comment (*build_email, build_email->comment));
+
for (const auto& d: dependencies)
s.next ("depends",
(d.conditional