1
0
mirror of https://github.com/Adorable-Catgirl/LuaComp.git synced 2024-09-29 07:00:58 +10:00
LuaComp/src/luacomp_vars.lua

11 lines
266 B
Lua
Raw Normal View History

2019-11-06 07:14:33 +11:00
local function _sv(k, v)
_G[k] = v
2019-12-15 08:23:07 +11:00
svar.set(k, v)
2019-11-06 07:14:33 +11:00
--os.setenv(k, tostring(v))
end
_sv("LUACOMP_V_MAJ", 1)
2019-12-15 08:23:07 +11:00
_sv("LUACOMP_V_MIN", 2)
2020-03-19 05:29:21 +11:00
_sv("LUACOMP_V_PAT", 1)
2019-11-06 07:14:33 +11:00
_sv("LUACOMP_VERSION", LUACOMP_V_MAJ.."."..LUACOMP_V_MIN.."."..LUACOMP_V_PAT)
_sv("LUACOMP_NAME", "LuaComp")