aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--l0/DependencyControl.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/l0/DependencyControl.lua b/l0/DependencyControl.lua
new file mode 100644
index 0000000..4d188df
--- /dev/null
+++ b/l0/DependencyControl.lua
@@ -0,0 +1,13 @@
+local inspect = require "inspect"
+
+local noop = function() end
+
+local function get_version_record(i)
+ local f = io.open("version", "w")
+ f:write(inspect(i))
+ f:flush()
+ f:close()
+ return { requireModules = noop, registerMacro = noop, registerMacros = noop }
+end
+
+return get_version_record