[latex3-commits] [git/LaTeX3-latex3-l3build] master: Drop 'sanity check' (fe48ae8)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Mar 6 19:38:53 CET 2018
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/fe48ae82a27593cfe401f30c445ecc65a831daa8
>---------------------------------------------------------------
commit fe48ae82a27593cfe401f30c445ecc65a831daa8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Mar 5 21:45:42 2018 +0000
Drop 'sanity check'
Will clearly be needed for #40.
>---------------------------------------------------------------
fe48ae82a27593cfe401f30c445ecc65a831daa8
l3build-variables.lua | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/l3build-variables.lua b/l3build-variables.lua
index 460bec8..ec9ba98 100644
--- a/l3build-variables.lua
+++ b/l3build-variables.lua
@@ -35,29 +35,6 @@ end
module = module or ""
bundle = bundle or ""
--- Sanity check
-if module == "" and bundle == "" then
- if string.match(arg[0], "l3build%.lua$") then
- print(
- "\n" ..
- "l3build: A testing and building system for LaTeX\n\n" ..
- "Release " .. release_date
- )
- if arg[1] and not string.match(arg[1], "version") then
- print(
- "\n"
- .. "Error: Call l3build using a configuration file, not directly.\n"
- )
- end
- else
- print(
- "\n"
- .. "Error: Specify either bundle or module in configuration script.\n"
- )
- end
- exit(1)
-end
-
-- Directory structure for the build system
-- Use Unix-style path separators
currentdir = "."
More information about the latex3-commits
mailing list