Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.55 KB

File metadata and controls

36 lines (21 loc) · 1.55 KB

Instructions use Ubuntu package names. Package names may differ on other distros.

If it's inconvenient to install the latest version of just, use the without just instructions. The catch is that the without just instructions are more likely to change in the future, so if you're packaging openscq30 and the latest version of just is easily available, prefer the with just instructions.

Building openscq30-cli on Linux

  1. Install the latest version of rust

Without just

  1. Run cargo build --package openscq30-cli --profile release-fast (or cargo build --package openscq30-cli --release, but it's very slow to build)
  2. The compiled binary can be found at target/release-fast/openscq30

With just

  1. Run just build-cli-fast (or just build-cli but it's very slow to build)
  2. The compiled binary can be found at build-output/openscq30

Building openscq30-gui on Linux

  1. Install the latest version of rust
  2. Install pkg-config libdbus-1-dev libxkbcommon-dev

Without just

  1. Run cargo build --package openscq30-gui --profile release-fast (or cargo build --package openscq30-gui --release, but it's very slow to build)
  2. The compiled binary can be found at target/release-fast/openscq30-gui

With just

  1. Run just build-gui-fast (or just build-gui but it's very slow to build)
  2. The compiled binary can be found at build-output/openscq30-gui

Runtime Dependencies

  • cosmic-icons: if a package isn't available, clone the git repo and run just install.