diff options
author | garret <garret@airmail.cc> | 2022-11-20 02:54:34 +0000 |
---|---|---|
committer | garret <garret@airmail.cc> | 2022-11-20 02:54:34 +0000 |
commit | 895bc32ca8b3a180e46b3ec47a2ddfba982d5dac (patch) | |
tree | 9372e09c852c5461e7721a5923d4d89bd2a7babd | |
parent | 98c4ef8c00011aa8643ff0358447e55ec8cff9d2 (diff) | |
download | depctrl-feedmaker-895bc32ca8b3a180e46b3ec47a2ddfba982d5dac.tar.gz depctrl-feedmaker-895bc32ca8b3a180e46b3ec47a2ddfba982d5dac.tar.bz2 depctrl-feedmaker-895bc32ca8b3a180e46b3ec47a2ddfba982d5dac.zip |
fake depctrl: add more functions
courtesy of sepro
-rw-r--r-- | l0/DependencyControl.lua | 22 |
1 files changed, 21 insertions, 1 deletions
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 |