Build from source
Build the tide binary from the repository.
Most users should install the prebuilt binary with the one-line installer — see Installation. Build from source when you are contributing to Tide or need an unreleased revision.
Prerequisites
- A recent stable Rust toolchain.
- Access to the
sharpe-dev/tiderepository.
The shipped tide binary embeds Argon, so building it resolves the private
sharpe-dev/argon git dependencies. The root workspace (the argon-free runtime,
stores, runner, and serve crates) builds without them.
Build
git clone https://github.com/sharpe-dev/tide.git
cd tide
cargo build --releaseThe compiled binary is at target/release/tide. Put it on your PATH, or copy
it to ~/.tide/bin/tide to match the installer layout:
install -m 0755 target/release/tide ~/.tide/bin/tideA debug build (cargo build, binary at target/debug/tide) compiles faster and
is fine for development.
Run the tests
Tide's test suite runs through the workflow harness and the Rust crates:
cargo testVersion
tide --version reports the version baked in at build time. Release builds stamp
the distributed channel version; a local source build falls back to the
workspace Cargo.toml version.
Related
- Installation — the prebuilt one-line install.
- Architecture — how the crates fit together.