[latex3-commits] [git/LaTeX3-latex3-l3build] standalone: Drop 'sanity check' (6fcb884)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Mar 5 22:45:42 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : standalone
Link       : https://github.com/latex3/l3build/commit/6fcb8842acf95eb09e6c7d8b1d031fa184ae3c47

>---------------------------------------------------------------

commit 6fcb8842acf95eb09e6c7d8b1d031fa184ae3c47
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.


>---------------------------------------------------------------

6fcb8842acf95eb09e6c7d8b1d031fa184ae3c47
 l3build-variables.lua |   23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/l3build-variables.lua b/l3build-variables.lua
index bee2ef2..344c1a3 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