texlive[45905] Master/texmf-dist: l3build (25nov17)

commits+karl at tug.org commits+karl at tug.org
Sat Nov 25 21:58:47 CET 2017


Revision: 45905
          http://tug.org/svn/texlive?view=revision&revision=45905
Author:   karl
Date:     2017-11-25 21:58:47 +0100 (Sat, 25 Nov 2017)
Log Message:
-----------
l3build (25nov17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/l3build/CONTRIBUTING.md
    trunk/Master/texmf-dist/doc/latex/l3build/README.md
    trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
    trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
    trunk/Master/texmf-dist/tex/latex/l3build/l3build.lua

Modified: trunk/Master/texmf-dist/doc/latex/l3build/CONTRIBUTING.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/CONTRIBUTING.md	2017-11-25 20:58:34 UTC (rev 45904)
+++ trunk/Master/texmf-dist/doc/latex/l3build/CONTRIBUTING.md	2017-11-25 20:58:47 UTC (rev 45905)
@@ -31,10 +31,11 @@
 
 - Our target Lua set up is `texlua` (part of LuaTeX), not standalone `lua`
 - The main `l3build.lua` file is self-contained as this helps with
-  bootstrapping LaTeX: we are aiming to maintain a single file with
+  bootstrapping LaTeX: we are aiming to maintain a single file with no
   `.lua` dependencies
 - The primary documentation is aimed at the TeX world, so is in PDF format
-  and generated from `l3build.dtx`
+  and generated from `l3build.dtx`; documentation in the `.lua` file is
+  also welcome, but anything for general use does need to be in the `.dtx`
 - As far as possible, everything is done within `l3build` itself or tools
   directly available in a TeX system or as standard in the supported
   systems (Windows, MacOS, Linux)

Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md	2017-11-25 20:58:34 UTC (rev 45904)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md	2017-11-25 20:58:47 UTC (rev 45905)
@@ -1,7 +1,7 @@
 l3build: a testing and building system for LaTeX3
 =================================================
 
-Release 2017/09/12
+Release 2017/11/25
 
 Overview
 --------

Modified: trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx	2017-11-25 20:58:34 UTC (rev 45904)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx	2017-11-25 20:58:47 UTC (rev 45905)
@@ -82,7 +82,7 @@
 \luavarset{demofiles}         {\{~\}}{Files which show how to use a module.}
 \luavarset{docfiles}          {\{~\}}{Files which are part of the documentation but should not be typeset.}
 \luavarset{excludefiles}      {\{"*\string~"\}}            {Files to ignore entirely (default for Emacs backup files).}
-\luavarset{installfiles}      {\{"*.sty"\}}         {Files to install to the \TeX{} tree and similar tasks.}
+\luavarset{installfiles}      {\{"*.sty","*.cls"\}}         {Files to install to the \TeX{} tree and similar tasks.}
 \luavarset{makeindexfiles}    {\{"*.ist"\}}{MakeIndex files to be included in a TDS-style zip}
 \luavarset{sourcefiles}       {\{"*.dtx", "*.ins"\}}{Files to copy for unpacking.}
 \luavarset{textfiles}         {\{"*.md", "*.txt"\}}{Plain text files to send to CTAN as-is.}
@@ -208,7 +208,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2017/09/12}
+% \date{Released 2017/11/25}
 %
 % \maketitle
 % \tableofcontents
@@ -292,10 +292,12 @@
 % \item check \meta{name(s)}
 % \item cmdcheck
 % \item clean
+% \item ctan
 % \item doc \meta{name(s)}
 % \item install
 % \item save \meta{name(s)}
 % \item setversion
+% \item unpack
 % \end{itemize}
 % These commands are described below.
 %

Modified: trunk/Master/texmf-dist/tex/latex/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3build/l3build.lua	2017-11-25 20:58:34 UTC (rev 45904)
+++ trunk/Master/texmf-dist/tex/latex/l3build/l3build.lua	2017-11-25 20:58:47 UTC (rev 45905)
@@ -23,7 +23,7 @@
 --]]
 
 -- Version information
-release_date = "2017/09/12"
+release_date = "2017/11/25"
 
 -- "module" is a deprecated function in Lua 5.2: as we want the name
 -- for other purposes, and it should eventually be 'free', simply
@@ -102,7 +102,7 @@
 demofiles          = demofiles          or { }
 docfiles           = docfiles           or { }
 excludefiles       = excludefiles       or {"*~"}
-installfiles       = installfiles       or {"*.sty"}
+installfiles       = installfiles       or {"*.sty","*.cls"}
 makeindexfiles     = makeindexfiles     or {"*.ist"}
 sourcefiles        = sourcefiles        or {"*.dtx", "*.ins"}
 textfiles          = textfiles          or {"*.md", "*.txt"}
@@ -286,7 +286,7 @@
       },
     rerun =
       {
-        desc  = "Suppresses TeX output when unpacking",
+        desc  = "Skip setup: simply rerun tests",
         short = "r",
         type  = "boolean"
       },
@@ -984,6 +984,10 @@
       -- luaotfload files start with keywords
       line = gsub(line, "from " .. pattern .. "%(", "from. ./%1(")
       line = gsub(line, ": " .. pattern .. "%)", ": ../%1)")
+      -- Deal with XeTeX specials
+      if match(line, "^%.+\\XeTeX.?.?.?file") then
+        line = gsub(line, pattern, "../%1")
+      end
     end
     -- Deal with the fact that "(.aux)" may have still a leading space
     line = gsub(line, "^ %(%.aux%)", "(.aux)")
@@ -1051,7 +1055,8 @@
   for line in gmatch(contents, "([^\n]*)\n") do
     if line == "START-TEST-LOG" then
       prestart = false
-    elseif line == "END-TEST-LOG" then
+    elseif line == "END-TEST-LOG" or
+      match(line, "^Here is how much of .?.?.?TeX\'s memory you used:") then
       break
     elseif line == "OMIT" then
       skipping = true
@@ -1070,7 +1075,7 @@
   if recordstatus then
     write('***************\n')
     for i = 1, checkruns do
-      write('Compilation ' .. i .. ' of test file completed with exit status ' .. errlevels[i] )
+      write('Compilation ' .. i .. ' of test file completed with exit status ' .. errlevels[i] '\n')
     end
   end
   close(newfile)
@@ -1134,6 +1139,9 @@
         "Missing character: There is no (%^%^..) %(U%+(....)%)",
         "Missing character: There is no %1"
       )
+    -- The first time a new font is used, it shows up
+    -- as being cached
+    line = gsub(line, "(save cache:", "(load cache:")
     -- A function to handle the box prefix part
     local function boxprefix(s)
       return gsub(match(s, "^(%.+)"), "%.", "%%.")
@@ -1825,6 +1833,8 @@
           return 1
         else
           errorlevel = 1
+          -- visually show that something has failed
+          print("          --> failed\n")
         end
       end
     end



More information about the tex-live-commits mailing list