lux_cli/dist/mod.rs
1mod bin;
2mod flat_archive;
3
4pub use bin::*;
5pub use flat_archive::*;
6
7use clap::Subcommand;
8
9#[derive(Subcommand)]
10pub enum Dist {
11 /// Distribute an archive of a flat install tree which includes all dependencies.{n}
12 /// The resulting archive does not include the `etc` directory or build dependencies.{n}
13 /// Unlike a Lux tree, dependency conflicts are not supported/handled.
14 FlatArchive(FlatArchive),
15 /// Build and distribute a standalone executable{n}
16 /// which runs on systems that do not have Lua installed.
17 Bin(Bin),
18}