[latex3-commits] [git/LaTeX3-latex3-latex2e] stdmain: No longer need custom main() for base (9f90d319)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Oct 2 14:52:03 CEST 2019
Repository : https://github.com/latex3/latex2e
On branch : stdmain
Link : https://github.com/latex3/latex2e/commit/9f90d319a44a3dd53b6a938c32013a92eab813ad
>---------------------------------------------------------------
commit 9f90d319a44a3dd53b6a938c32013a92eab813ad
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
>---------------------------------------------------------------
9f90d319a44a3dd53b6a938c32013a92eab813ad
base/build.lua | 38 --------------------------------------
1 file changed, 38 deletions(-)
diff --git a/base/build.lua b/base/build.lua
index 2c99e2f1..24446906 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -188,43 +188,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")
@@ -233,4 +196,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