lux-cli-help-dist(1)
β¨ NAME β¨
hey bestie, welcome to the General Commands Manual page for lux-cli-help-dist(1). Itβs the whole vibe for distributing a Lux project β literally what this command is here to do. π
πΈ SYNOPSIS πΈ
lux-cli help dist [subcommands]
Okay so you call lux-cli help dist, and the [subcommands] part is optional. Thatβs the setup. π«Ά
π DESCRIPTION π
lux-cli-help-dist is the βDistribute a Lux projectβ command. Itβs giving ship-it energy, and all the actual details live in the subcommands below. No cap. β¨
π SUBCOMMANDS π
lux-cli-help-dist-flat-archive(1)β ship an archive of a flat install tree which includes all dependencies. The resulting archive does not include theetcdirectory or build dependencies. And unlike a Lux tree, dependency conflicts are not supported/handled. πlux-cli-help-dist-bin(1)β compile a Lux project, including its dependencies, into a single binary, which runs on systems that do not have Lua installed. Heads up: 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. As withflat-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"]
thatβs the tea, bestie β dist Β· lux-cli-help-dist(1) π«Άβ¨
π¦ 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