Zum Inhalt springen
← Zurück zu den Projekten

Tecs Love2d Tl Type

#tecs-love2d-tl-type

Teal type definitions for the LÖVE APIs used by Tecs2D.

#Installation

Install a tagged release with LuaRocks:

luarocks install tecs-love2d-tl-type

The rock installs love2d.d.tl on the Lua module path. Use it as the global environment in tlconfig.lua:

return {
    global_env_def = "love2d",
}

#Development

Validate and install the current checkout into a temporary tree:

luarocks --lua-version=5.1 lint tecs-love2d-tl-type-dev-1.rockspec
luarocks --lua-version=5.1 make --tree=.luarocks tecs-love2d-tl-type-dev-1.rockspec

Pushing a tag such as v0.1.0 publishes release 0.1.0-1 to LuaRocks.

#License

MIT. See LICENSE and the attribution in love2d.d.tl.

Neue Version verfügbar.