luanvil/luast
Build standalone Lua binaries with cross-compilation support
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| output | Output binary name (default: package name from rockspec or main filename) | no | — |
| main | Main entry point for standalone mode (no rockspec needed) | no | — |
| rockspec | Path to rockspec file (default: auto-detect) | no | — |
| targets | Space-separated list of targets (e.g., "linux-x86_64 linux-arm64 darwin-arm64 windows-x86_64") | no | — |
| lua-version | Lua version to use (default: 5.4.8, or "jit" for LuaJIT) | no | — |
| clibs | Space-separated list of C library dependencies (e.g., "lfs lpeg") | no | — |
| rocks | Space-separated list of LuaRocks packages to include (e.g., "inspect penlight") | no | — |
| embeds | Space-separated list of files/directories to embed (e.g., "templates/ config.json") | no | — |
| quiet | Only show errors and warnings (default: false) | no | false |
Outputs
| name | description |
|---|---|
| binary | Path to the built binary (or first binary if multiple targets) |