rux pack

Purpose

Build the .ruxpkg archive that 'rux publish' uploads

Synopsis

rux pack [options]

Behavior

Validates the publication profile and creates a deterministic .ruxpkg containing Rux.toml, Src/, and declared readme and license files. Workspaces and path dependencies cannot be packed.

Arguments

This command accepts no operands.

Options

OptionDescription
-o, --output <path>Write the archive to a specific path

Global options may appear before or after the command. See Global options.

Output and exit status

The default archive is <Name>-<Version>.ruxpkg below configured build output. -o and --output select an explicit path.

Success exits 0, invalid command-line usage exits 2, and compiler, validation, filesystem, network, or generation failures exit 1 unless stated otherwise above.

Examples

rux pack
rux pack --output Dist/Math.ruxpkg

Environment variables

This command defines no command-specific environment variables.

The global color environment behavior is described under Global options.