[latex3-commits] [git/LaTeX3-latex3-latex3] DRY: Make format-building less noisy (62574ef83)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sat Sep 28 19:53:22 CEST 2019
Repository : https://github.com/latex3/latex3
On branch : DRY
Link : https://github.com/latex3/latex3/commit/62574ef8314a2cc2250d0dc8e9b43bf798514ab8
>---------------------------------------------------------------
commit 62574ef8314a2cc2250d0dc8e9b43bf798514ab8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sat Sep 28 17:51:29 2019 +0100
Make format-building less noisy
Possibly still want to avoid building for each
set of tests: one place for fmt files?
>---------------------------------------------------------------
62574ef8314a2cc2250d0dc8e9b43bf798514ab8
build-config.lua | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build-config.lua b/build-config.lua
index 0da1eca2b..d71386d18 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -102,11 +102,12 @@ local function fmt()
if fileexists(supportdir .. "/" .. ini) then
src = ini
end
+ print("Building format for " .. engine)
local errorlevel = os.execute(
os_setenv .. " TEXINPUTS=" .. unpackdir .. os_pathsep .. localdir
.. os_pathsep .. texmfdir .. "//"
.. os_concat .. cmd .. " -etex -ini -output-directory=" .. unpackdir
- .. " " .. src)
+ .. " " .. src .. " > " .. os_null)
if errorlevel ~= 0 then return errorlevel end
local fmtname = string.gsub(engine,"tex$","") .. "latex.fmt"
ren(unpackdir,"latex.fmt",fmtname)
More information about the latex3-commits
mailing list