Files
ncspot/doc/package_maintainers.md
Thomas Frans 56b4fab79c fix: missing automatic man page generation for subcommands
The main man page would point to man pages for subcommands, which
weren't created automatically by the man page xtask.
2024-11-09 10:04:38 +01:00

1.6 KiB

Packaging

Packaging status

Compilation Instructions

ncspot makes use of the standard Cargo build system for everything. To compile a release version, execute cargo build --release in the terminal from the project root. The executable file can be found at target/release/ncspot. For detailed build instructions, have a look at the developer documentation.

Additional features can be included by appending them to the build command. A list of all the available features can be found in the Cargo.toml under the [features] table. To activate a feature, include its name like cargo build --release --features feature1,feature2,.... To disable the default features, add --no-default-features to the command.

Other Provided Files

The following is a list of other files that are provided by ncspot. Some of them need to be generated. Execute cargo xtask --help for more information.

  • LICENSE
  • images/logo.svg (optional)
  • misc/ncspot.desktop (for Linux systems)
  • misc/*.1 (for Linux systems)
  • misc/ncspot.bash (bash completions)
  • misc/_ncspot (zsh completions)
  • misc/ncspot.fish (fish completions)
  • misc/ncspot.elv (elvish completions)
  • misc/_ncspot.ps1 (powershell completions)

Building a Debian Package

The cargo-deb package can be used to build a Debian package with the following commands. The package will be generated in target/debian/.

cargo install cargo-deb
cargo deb