[latex3-commits] [latex3/l3build] main: Respect excludefiles when doing (local) installation (b38171f)

github at latex-project.org github at latex-project.org
Mon Sep 11 13:06:18 CEST 2023


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/b38171f6fee46616e1f45a423bc72ca68d0783c0

>---------------------------------------------------------------

commit b38171f6fee46616e1f45a423bc72ca68d0783c0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Sep 11 12:05:55 2023 +0100

    Respect excludefiles when doing (local) installation
    
    See #286


>---------------------------------------------------------------

b38171f6fee46616e1f45a423bc72ca68d0783c0
 CHANGELOG.md        | 1 +
 l3build-install.lua | 1 +
 2 files changed, 2 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5ba802a..b803b6d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,7 @@ this project uses date-based 'snapshot' version identifiers.
 ### Fixed
 - Return passing errorlevel if BibTeX issues warnings
   (see \#260)
+- Respect `excludefiles` when doing (local) installation
 
 ## [2023-09-07]
 
diff --git a/l3build-install.lua b/l3build-install.lua
index 64d29fc..e96259c 100644
--- a/l3build-install.lua
+++ b/l3build-install.lua
@@ -215,6 +215,7 @@ function install_files(target,full,dry_run)
       dir = dir or currentdir
       include = include or { }
       exclude = exclude or { }
+      insert(exclude,excludefiles)
       local excludelist = { }
       for _,glob_table in pairs(exclude) do
         for _,glob in pairs(glob_table) do





More information about the latex3-commits mailing list.