LuaComp/examples/shell_output.lua

4 lines
144 B
Lua

--Using the command
print("Compiled with LuaComp $[[luacomp -v]]")
--Or using the shell vars
print("Compiled with LuaComp $[{LUACOMP_VERSION}]")