mirror of
https://github.com/YunoHost-Apps/syncstorage-rs-build
synced 2026-06-29 09:39:32 +02:00
No description
- Shell 93%
- CMake 7%
| docker | ||
| scripts | ||
| .gitignore | ||
| Cross-bookworm.toml | ||
| Cross-trixie.toml | ||
| LICENSE | ||
| README.md | ||
| ReleaseTemplate.md | ||
syncstorage-rs-build
Scripts for building and binary releases of syncstorage-rs for YunoHost package.
Tagging strategy
diesel-<version>are Diesel prebuilts for Bookworm, should work on Trixie as wellsyncserver-<version>are SyncServer prebuilts for Bookworm and Trixie
Prerequisites
- Rust, preferrably installed via rustup
- Cross-rs, installable via
cargo install cross - A container engine of choice, either Docker (cross-preferred) or Podman (installable via
apt install podman)
Initial setup
git clone https://github.com/YunoHost-Apps/syncstorage-rs-build
cd syncstorage-rs-build
./scripts/setup.sh
This will clone this repo and upstream repos of SyncStorage and Diesel
Building
- Checkout preferred revision/tag/ref under the corresponding repo (
syncstorage-rsfor syncserver,dieselfor Diesel) - Run eitehr
./scripts/build-syncstorage.sh <version>or./scripts/build-diesel.sh <version>
If all goes well you'll have a <target>-<version> directory with all the artifacts after the script is done.
Note that <version> is just a string that'll be appended to artifact name, the build scripts does not modify the git state.
Notices
Files under docker/ are adapted from original Cross-rs files available here