aboutsummaryrefslogtreecommitdiffstats
path: root/l0/DependencyControl.lua
blob: 4d188dfc3f0bd42b225a0c0e589b3d5f02b4d464 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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