Files
ncspot/doc/package_maintainers.md
Thomas Frans 5179859538 Update README (#1089)
* Update README.

* Update README version 2.
2023-03-20 23:00:19 +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/ncspot.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