[latex3-commits] [latex3/l3build] main: Change default value of `ctanpkg` to a valid lua expr (4abe53a)
github at latex-project.org
github at latex-project.org
Fri Nov 3 07:38:59 CET 2023
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/4abe53abe24724d9d866ff8369ed10645e2075ac
>---------------------------------------------------------------
commit 4abe53abe24724d9d866ff8369ed10645e2075ac
Author: Yukai Chou <muzimuzhi at gmail.com>
Date: Thu Nov 2 07:09:28 2023 +0800
Change default value of `ctanpkg` to a valid lua expr
>---------------------------------------------------------------
4abe53abe24724d9d866ff8369ed10645e2075ac
CHANGELOG.md | 3 +++
l3build.dtx | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6b6e1c7..fcd5201 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Changed
+- Document default value of `ctanpkg` as a valid lua expression
+
## [2023-11-01]
### Changed
diff --git a/l3build.dtx b/l3build.dtx
index e425786..590b2d6 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -52,7 +52,7 @@
\def\allluavars{
\luavarset{module}{""}{The name of the module}
\luavarset{bundle}{""}{The name of the bundle in which the module belongs (where relevant)}
-\luavarset{ctanpkg}{module/bundle}{Name of the CTAN package matching this module}
+\luavarset{ctanpkg}{bundle == "" and module or bundle}{Name of the CTAN package matching this module}
\luavarseparator
\luavarset{modules}{\{\}}{The list of all modules in a bundle (when not auto-detecting)}
\luavarset{exclmodules}{\{\}}{Directories to be excluded from automatic module detection}
More information about the latex3-commits
mailing list.