diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-05 19:44:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-05 19:44:19 +0000 |
commit | 04c30db0018970c69516d748c7b4509240857b65 (patch) | |
tree | 60c80f16c8a85519e3e0af6981047bfc3fcd5d29 /Master/texmf-dist/scripts/l3build/l3build-stdmain.lua | |
parent | 4754ab4e3ed4d6763f26591c2c84be9dfcf54664 (diff) |
l3build (5may21)
git-svn-id: svn://tug.org/texlive/trunk@59091 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-stdmain.lua')
-rw-r--r-- | Master/texmf-dist/scripts/l3build/l3build-stdmain.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua b/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua index 10303b71f71..80b5cc84be1 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-stdmain.lua +++ b/Master/texmf-dist/scripts/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() |