A LuaRocks build backend for installing modules written in the Teal language and built using the Cyan build tool.
Configure your Cyan project as normal, adding a tlconfig.lua
file to the
root of your repository, then add the following entries to your rockspec:
rockspec_format = "3.0" -- to enable build_dependencies
build_dependencies = {
"luarocks-build-cyan" -- to enable build.type = "cyan"
}
build = {
type = "cyan"
}
- This only installs the compiled
.lua
files and not the source.tl
files. Installing the.tl
files alongside the.lua
files would be useful for providing IDE-autocompletion of libraries.