diff options
author | Norbert Preining <norbert@preining.info> | 2021-05-06 03:00:58 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-05-06 03:00:58 +0000 |
commit | 25f20b6d8ccd4edcdfec23c1a3c908516076ee06 (patch) | |
tree | f889e071118d7d2db80066d14d14b020c50a2238 /macros/latex/contrib/l3build/l3build-stdmain.lua | |
parent | 75db33dc347ec9cfbaa2f3ec538a2697351f571b (diff) |
CTAN sync 202105060300
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-stdmain.lua')
-rw-r--r-- | macros/latex/contrib/l3build/l3build-stdmain.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/macros/latex/contrib/l3build/l3build-stdmain.lua b/macros/latex/contrib/l3build/l3build-stdmain.lua index 10303b71f7..80b5cc84be 100644 --- a/macros/latex/contrib/l3build/l3build-stdmain.lua +++ b/macros/latex/contrib/l3build/l3build-stdmain.lua @@ -1,6 +1,6 @@ --[[ -File l3build-stdmain.lua Copyright (C) 2018-2020 The LaTeX3 Project +File l3build-stdmain.lua Copyright (C) 2018-2020 The LaTeX Project It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -22,6 +22,8 @@ for those people who are interested. --]] +local lfs = require("lfs") + local exit = os.exit local insert = table.insert @@ -49,7 +51,7 @@ target_list = bundlecheck = { func = check, - pre = function() + pre = function(names) if names then print("Bundle checks should not list test names") help() @@ -65,7 +67,7 @@ target_list = bundleunpack = { func = bundleunpack, - pre = function() return(depinstall(unpackdeps)) end + pre = function() return(dep_install(unpackdeps)) end }, -- Public targets check = @@ -149,7 +151,7 @@ target_list = -- The overall main function -- -function stdmain(target,names) +function main(target,names) -- Deal with unknown targets up-front if not target_list[target] then help() |