texlive[54544] trunk: l3build (25mar20)
commits+karl at tug.org
commits+karl at tug.org
Wed Mar 25 22:10:32 CET 2020
Revision: 54544
http://tug.org/svn/texlive?view=revision&revision=54544
Author: karl
Date: 2020-03-25 22:10:32 +0100 (Wed, 25 Mar 2020)
Log Message:
-----------
l3build (25mar20)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/l3build/README.md
trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
trunk/Master/texmf-dist/doc/man/man1/l3build.1
trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
trunk/Master/texmf-dist/scripts/l3build/l3build-clean.lua
trunk/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua
trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua
trunk/Master/texmf-dist/scripts/l3build/l3build.lua
trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
Modified: trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2020-03-25 21:10:11 UTC (rev 54543)
+++ trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2020-03-25 21:10:32 UTC (rev 54544)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2020-03-16"
+release_date = "2020-03-25"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
Modified: trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2020-03-25 21:10:11 UTC (rev 54543)
+++ trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2020-03-25 21:10:32 UTC (rev 54544)
@@ -7,6 +7,12 @@
## [Unreleased]
+## [2020-03-25]
+
+### Changed
+- Exclude `sourcefiles` entries from file clean-up
+- Adjust defaults for TeX Live 2020 LuaHBTeX usage
+
## [2020-03-16]
### Changed
@@ -460,7 +466,8 @@
- Rationalise short option names: removed `-d`, `-E`, `-r`
- Target `cmdcheck`: specific to LaTeX3 kernel work
-[Unreleased]: https://github.com/latex3/l3build/compare/2020-03-16...HEAD
+[Unreleased]: https://github.com/latex3/l3build/compare/2020-03-25...HEAD
+[2020-03-25]: https://github.com/latex3/l3build/compare/2020-03-16...2020-03-25
[2020-03-16]: https://github.com/latex3/l3build/compare/2020-03-13...2020-03-16
[2020-03-13]: https://github.com/latex3/l3build/compare/2020-03-12...2020-03-13
[2020-03-12]: https://github.com/latex3/l3build/compare/2020-02-21...2020-03-12
Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md 2020-03-25 21:10:11 UTC (rev 54543)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md 2020-03-25 21:10:32 UTC (rev 54544)
@@ -1,7 +1,7 @@
l3build: a testing and building system for LaTeX3
=================================================
-Release 2020-03-16
+Release 2020-03-25
Overview
--------
Modified: trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/l3build.1 2020-03-25 21:10:11 UTC (rev 54543)
+++ trunk/Master/texmf-dist/doc/man/man1/l3build.1 2020-03-25 21:10:32 UTC (rev 54544)
@@ -1,4 +1,4 @@
-.TH l3build 1 "2020-03-16"
+.TH l3build 1 "2020-03-25"
.SH NAME
l3build \- Checking and building packages
.SH SYNOPSIS
Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-clean.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-clean.lua 2020-03-25 21:10:11 UTC (rev 54543)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-clean.lua 2020-03-25 21:10:32 UTC (rev 54544)
@@ -1,6 +1,6 @@
--[[
-File l3build-clean.lua Copyright (C) 2018 The LaTeX3 Project
+File l3build-clean.lua Copyright (C) 2018,2020 The LaTeX3 Project
It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -34,12 +34,28 @@
cleandir(testdir) +
cleandir(typesetdir) +
cleandir(unpackdir)
- for _,i in ipairs(cleanfiles) do
- for _,dir in pairs(remove_duplicates({maindir, sourcefiledir, docfiledir})) do
- errorlevel = rm(dir, i) + errorlevel
+
+ if errorlevel ~= 0 then return errorlevel end
+
+ local clean_list = { }
+ for _,dir in pairs(remove_duplicates({maindir,sourcefiledir,docfiledir})) do
+ for _,glob in pairs(cleanfiles) do
+ for file,_ in pairs(tree(dir,glob)) do
+ clean_list[file] = true
+ end
end
+ for _,glob in pairs(sourcefiles) do
+ for file,_ in pairs(tree(dir,glob)) do
+ clean_list[file] = nil
+ end
+ end
+ for file,_ in pairs(clean_list) do
+ errorlevel = rm(dir,file)
+ if errorlevel ~= 0 then return errorlevel end
+ end
end
- return errorlevel
+
+ return 0
end
function bundleclean()
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua 2020-03-25 21:10:11 UTC (rev 54543)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua 2020-03-25 21:10:32 UTC (rev 54544)
@@ -241,7 +241,7 @@
errorlevel =
execute("if not exist \"" .. unix_to_win(dir) .. "\" exit 1")
else
- errorlevel = execute("[ -d " .. dir .. " ]")
+ errorlevel = execute("[ -d '" .. dir .. "' ]")
end
if errorlevel ~= 0 then
return false
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua 2020-03-25 21:10:11 UTC (rev 54543)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-variables.lua 2020-03-25 21:10:32 UTC (rev 54544)
@@ -128,6 +128,13 @@
ptex = {binary = "eptex"},
uptex = {binary = "euptex"}
}
+if not string.find(status.banner,"2019") then
+ specialformats.latex.luatex = specialformats.latex.luatex or
+ {binary = "luahbtex",format = "lualatex"}
+ specialformats["latex-dev"] = specialformats["latex-dev"] or
+ {luatex = {binary="luahbtex",format = "lualatex-dev"}}
+end
+
stdengine = stdengine or "pdftex"
-- The tests themselves
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2020-03-25 21:10:11 UTC (rev 54543)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2020-03-25 21:10:32 UTC (rev 54544)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2020-03-16"
+release_date = "2020-03-25"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2020-03-25 21:10:11 UTC (rev 54543)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2020-03-25 21:10:32 UTC (rev 54544)
@@ -234,7 +234,7 @@
% }^^A
% }
%
-% \date{Released 2020-03-16}
+% \date{Released 2020-03-25}
%
% \maketitle
% \tableofcontents
More information about the tex-live-commits
mailing list.