From 895bc32ca8b3a180e46b3ec47a2ddfba982d5dac Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 20 Nov 2022 02:54:34 +0000 Subject: fake depctrl: add more functions courtesy of sepro --- l0/DependencyControl.lua | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'l0') diff --git a/l0/DependencyControl.lua b/l0/DependencyControl.lua index 4d188df..6dd008c 100644 --- a/l0/DependencyControl.lua +++ b/l0/DependencyControl.lua @@ -7,7 +7,27 @@ local function get_version_record(i) f:write(inspect(i)) f:flush() f:close() - return { requireModules = noop, registerMacro = noop, registerMacros = noop } + return { + checkVersion = noop, + getConfigFileName = noop, + getConfigHandler = noop, + getLogger = noop, + getVersionNumber = noop, + getVersionString = noop, + loadConfig = noop, + loadModule = noop, + moveFile = noop, + register = noop, + registerMacro = noop, + registerMacros = noop, + registerTests = noop, + requireModules = noop, + writeConfig = noop, + getUpdaterErrorMsg = noop, + getUpdaterLock = noop, + releaseUpdaterLock = noop, + update = noop, + } end return get_version_record -- cgit v1.2.3-70-g09d2