summaryrefslogtreecommitdiff
path: root/lualibs-basic.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-05 13:44:45 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-05 13:44:45 +0200
commitb025ba185c264fe52b81052195dde2d003014098 (patch)
tree45eb330d9d7664148d569ed8933afba905e50acf /lualibs-basic.lua
parent8dfefeb13e526992d90673be89cadc733712c1c5 (diff)
downloadlualibs-b025ba185c264fe52b81052195dde2d003014098.tar.gz
remove ``lualibs-basic.lua`` and ``lualibs-extended.lua`` from repository
Diffstat (limited to 'lualibs-basic.lua')
-rw-r--r--lualibs-basic.lua55
1 files changed, 0 insertions, 55 deletions
diff --git a/lualibs-basic.lua b/lualibs-basic.lua
deleted file mode 100644
index 6c14e9f..0000000
--- a/lualibs-basic.lua
+++ /dev/null
@@ -1,55 +0,0 @@
-lualibs = lualibs or { }
-local info = lualibs.info
-local loadmodule = lualibs.loadmodule
-
-local lualibs_basic_module = {
- name = "lualibs-basic",
- version = 2.00,
- date = "2013/04/30",
- description = "ConTeXt Lua libraries -- basic collection.",
- author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux & Philipp Gesang",
- copyright = "PRAGMA ADE / ConTeXt Development Team",
- license = "See ConTeXt's mreadme.pdf for the license",
-}
-
-local loaded = false --- track success of package loading
-
-if lualibs.prefer_merged then
- info"Loading merged package for collection “basic”."
- loaded = loadmodule('lualibs-basic-merged.lua')
-else
- info"Ignoring merged packages."
- info"Falling back to individual libraries from collection “basic”."
-end
-
---[[doc--
-
- \verb|mtx-package| expects the files to be included by
- \verb|loadmodule|.
- If run on this file, it will create \verb|lualibs-basic-merged.lua|
- from all the files mentioned in the next block.
-
---doc]]--
-
-if loaded == false then
- loadmodule("lualibs-lua.lua")
- loadmodule("lualibs-package.lua")
- loadmodule("lualibs-lpeg.lua")
- loadmodule("lualibs-function.lua")
- loadmodule("lualibs-string.lua")
- loadmodule("lualibs-table.lua")
- loadmodule("lualibs-boolean.lua")
- loadmodule("lualibs-number.lua")
- loadmodule("lualibs-math.lua")
- loadmodule("lualibs-io.lua")
- loadmodule("lualibs-os.lua")
- loadmodule("lualibs-file.lua")
- loadmodule("lualibs-md5.lua")
- loadmodule("lualibs-dir.lua")
- loadmodule("lualibs-unicode.lua")
- loadmodule("lualibs-url.lua")
- loadmodule("lualibs-set.lua")
-end
-
-lualibs.basic_loaded = true
--- vim:tw=71:sw=2:ts=2:expandtab