[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: No longer need custom main() for base (ea35f9bb)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Oct 2 17:43:40 CEST 2019
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/ea35f9bb83d00a0dee33423c806b6e1efb23578c
>---------------------------------------------------------------
commit ea35f9bb83d00a0dee33423c806b6e1efb23578c
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Oct 2 13:52:03 2019 +0100
No longer need custom main() for base
>---------------------------------------------------------------
ea35f9bb83d00a0dee33423c806b6e1efb23578c
base/build.lua | 38 --------------------------------------
1 file changed, 38 deletions(-)
diff --git a/base/build.lua b/base/build.lua
index 60257203..3f5444d9 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -192,43 +192,6 @@ function bundleunpack ()
return 0
end
--- base does all of the targets itself
-function main (target, file, engine)
- local errorlevel
- if target == "check" then
- errorlevel = check (file, engine)
- elseif target == "clean" then
- errorlevel = clean ()
- elseif target == "ctan" then
- format ()
- errorlevel = ctan (true)
- elseif target == "doc" then
- errorlevel = doc ()
- elseif target == "install" then
- install ()
- elseif target == "save" then
- if file then
- if not options["rerun"] then
- format()
- end
- errorlevel = save (file, engine)
- else
- help ()
- end
- elseif target == "tag" then
- errorlevel = tag(file,engine)
- elseif target == "unpack" then
- errorlevel = unpack ()
- elseif target == "uninstall" then
- errorlevel = uninstall()
- elseif target == "version" then
- version ()
- else
- help ()
- end
- os.exit (errorlevel)
-end
-
-- Load the common settings for the LaTeX2e repo
dofile (maindir .. "/build-config.lua")
@@ -237,4 +200,3 @@ kpse.set_program_name ("kpsewhich")
if not release_date then
dofile(kpse.lookup("l3build.lua"))
end
-
More information about the latex3-commits
mailing list