1
0
mirror of https://github.com/Adorable-Catgirl/LuaComp.git synced 2024-11-27 12:18:06 +11: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)
2019-11-06 07:14:33 +11:00
_sv("LUACOMP_V_PAT", 0)
_sv("LUACOMP_VERSION", LUACOMP_V_MAJ.."."..LUACOMP_V_MIN.."."..LUACOMP_V_PAT)
_sv("LUACOMP_NAME", "LuaComp")