lux-cli-dist-help-bin(1)

πŸ“¦ version 0.48.0, in nixpkgs unstable

πŸŽ€ 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