An open API service indexing awesome lists of open source software.

https://github.com/luarocks/luarocks-build-cyan

LuaRocks build backend for the Teal language using the Cyan build tool
https://github.com/luarocks/luarocks-build-cyan

Last synced: about 1 year ago
JSON representation

LuaRocks build backend for the Teal language using the Cyan build tool

Awesome Lists containing this project

README

          

# luarocks-build-cyan

A [LuaRocks](https://luarocks.org) build backend for installing modules
written in the [Teal](https://teal-language.org) language and
built using the [Cyan](https://github.com/teal-language/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:

```lua
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.