lux-cli-dist-help-bin(1)
π NAME π
okay so bestie, this is lux-cli-dist-help-bin(1) from the General Commands Manual β yes, the bin page is here to spill the tea. βπ
It compiles a Lux project, including its dependencies, into a single binary that runs on systems that do not have Lua installed. β¨
Important caveat time: projects with native Lua modules are not single binaries: the modules are copied as shared libraries next to the output binary, and must be shipped alongside it. No cap. π«Ά
As with flat-archive, dependency conflicts are not supported/handled. π
The entrypoint is specified via the lux.toml's [run] field, e.g.:
[run]
args = ["src/main.lua"]
β¨ SYNOPSIS β¨
lux-cli dist help bin
π DESCRIPTION π
Compile a Lux project, including its dependencies, into a single binary that runs on systems that do not have Lua installed. That's the whole assignment, and it ate. π₯ periodt.
Projects with native Lua modules are not single binaries: the modules are copied as shared libraries next to the output binary, and must be shipped alongside it. Keep that in mind, bestie β it's giving βship the shared libs tooβ energy. π¦
As with flat-archive, dependency conflicts are not supported/handled. This is a real caveat, not me being dramatic. π
The entrypoint is specified via the lux.toml's [run] field, e.g.:
[run]
args = ["src/main.lua"]
byeee π footer sign-off: source/version vibe is bin, page name is lux-cli-dist-help-bin(1), and the date slot is blank in this copy β we out π
π
π¦ 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