Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 784 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 784 Bytes

luarocks-build-cyan

A LuaRocks build backend for installing modules written in the Teal language and built using the Cyan build tool.

Using

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"
}

TODO

  • 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.