aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2022-11-20 02:54:34 +0000
committergarret <garret@airmail.cc>2022-11-20 02:54:34 +0000
commit895bc32ca8b3a180e46b3ec47a2ddfba982d5dac (patch)
tree9372e09c852c5461e7721a5923d4d89bd2a7babd
parent98c4ef8c00011aa8643ff0358447e55ec8cff9d2 (diff)
downloaddepctrl-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.lua22
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