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
- Host: GitHub
- URL: https://github.com/luarocks/luarocks-build-cyan
- Owner: luarocks
- License: mit
- Created: 2024-02-16T21:35:36.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-16T21:41:55.000Z (over 2 years ago)
- Last Synced: 2025-04-09T14:06:36.298Z (about 1 year ago)
- Language: Lua
- Size: 1.95 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.