ksp dist
ksp dist
Command ReferenceBuild standalone distribution archives or cross-platform binaries for KSP applications.
System & Environment
Purpose
Build standalone distribution archives or cross-platform binaries for KSP applications.
Syntax
Command-line specificationbash / powershell
ksp dist [OPTIONS]
Options & Flags
| Option Flag | Description |
|---|---|
| --target <ARCH> | Target OS/architecture: `x86_64-pc-windows-msvc`, `x86_64-unknown-linux-gnu`, `aarch64-apple-darwin`. |
| --zip | Bundle built binary and certificate templates into a compressed distribution archive. |
Example Usage
Example command
ksp dist --target x86_64-unknown-linux-gnu --zip
Expected Output
[+] Compiling optimized release binary for x86_64-unknown-linux-gnu... [+] Packaging binary + LICENSE + README into ksp-v0.1.0-linux-x64.tar.gz [✔] Distribution archive built: target/dist/ksp-v0.1.0-linux-x64.tar.gz (4.1 MB)
Implementation Notes
Utilized by maintainers and automated release pipelines to package zero-dependency standalone binaries.