[latex3-commits] [git/LaTeX3-latex3-latex3] main: Only build necessary format during `l3build save` (4f76a65c7)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon May 17 19:08:53 CEST 2021
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/4f76a65c7bc1b6401448deb66647151b26c30757
>---------------------------------------------------------------
commit 4f76a65c7bc1b6401448deb66647151b26c30757
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Mon May 17 05:01:22 2021 +0200
Only build necessary format during `l3build save`
>---------------------------------------------------------------
4f76a65c7bc1b6401448deb66647151b26c30757
build-config.lua | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/build-config.lua b/build-config.lua
index 5b321dc3f..25a393436 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -141,7 +141,18 @@ local function fmt(engines,dest)
end
function checkinit_hook()
- return fmt(options["engine"] or checkengines,testdir)
+ local engines = options.engine
+ if not engines then
+ local target = options.target
+ if target == 'check' then
+ engines = checkengines
+ elseif target == 'save' then
+ engines = {stdengine}
+ else
+ error'Unexpected target in call to checkinit_hook'
+ end
+ end
+ return fmt(engines,testdir)
end
function docinit_hook()
More information about the latex3-commits
mailing list.