diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-30 15:29:21 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-01 13:15:17 +0300 |
commit | d97faa864483c4141613f785f371b8fdb42876c7 (patch) | |
tree | 16ec5521af26404498e9889e21b795519d9b0723 /mod/module.cli | |
parent | b8f351516e4c8cabe808c13e3e47e35ccddc4571 (diff) |
Add support for disabling package build notification emails per toolchain name
Diffstat (limited to 'mod/module.cli')
-rw-r--r-- | mod/module.cli | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mod/module.cli b/mod/module.cli index c2dce5b..bd61873 100644 --- a/mod/module.cli +++ b/mod/module.cli @@ -1,6 +1,7 @@ // file : mod/options.cli -*- C++ -*- // license : MIT; see accompanying LICENSE file +include <map>; include <regex>; include <libbpkg/manifest.hxx>; // repository_location @@ -463,6 +464,19 @@ namespace brep face of recoverable failures (deadlock, loss of connection, etc). The default is 10M." } + + std::map<string, bool> build-toolchain-email + { + "<name>=<bool>", + "Enable or disable package build notification emails. If \cb{true} is + specified for a toolchain name, then emails are sent according to the + \cb{build-*email} package manifest values when the package is built + with this toolchain. If \cb{false} is specified, then no emails are + sent for this toolchain name. By default build notification emails + are enabled. Repeat this option to enable/disable emails for multiple + toolchains. See \l{bpkg#manifest-package Package Manifest} for + details on \cb{build-*email} values." + } }; class build_log: build, build_db, handler |