lux-cli-help-dist-bin(1)
πΈ NAME πΈ
okay bestie, this is lux-cli-help-dist-bin(1) from the General Commands Manual β manual name folded in right here so we can get straight to the tea π
This one compiles a Lux project, dependencies and all, into a single binary that runs on systems where Lua is not installed. β¨
π«Ά lowkey important: if your project has native Lua modules, it is not a single-binary situation. Those modules are copied as shared libraries next to the output binary, and they must be shipped alongside it.
And same as flat-archive: dependency conflicts are not supported/handled. Not me pretending otherwise π
The entrypoint is specified via the [run] field in lux.toml, e.g.:
[run]
args = ["src/main.lua"]
β¨ SYNOPSIS β¨
lux-cli help dist bin
π DESCRIPTION π
okay so the whole point of lux-cli help dist bin is: compile a Lux project, including its dependencies, into a single binary that runs on systems that do not have Lua installed. π
π if your project has native Lua modules, it is not a single binary: the modules are copied as shared libraries next to the output binary, and they must be shipped alongside it.
Same energy as flat-archive: dependency conflicts are not supported/handled. That's the caveat, bestie, no cap.
The entrypoint is specified via the [run] field in lux.toml, e.g.: π
[run]
args = ["src/main.lua"]
footer stamp tea β: it says bin and lux-cli-help-dist-bin(1) β that's the source/version corner of the page, and there's no separate date printed here, so I'm not inventing one, periodt. π
π¦ where this page comes from
- nixpkgs unstable: lux-cli 0.48.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms