Skip to content

Instantly share code, notes, and snippets.

@teor2345
Created August 1, 2024 00:16
Show Gist options
  • Select an option

  • Save teor2345/58e245122df947fae77cf321ee2cdb3d to your computer and use it in GitHub Desktop.

Select an option

Save teor2345/58e245122df947fae77cf321ee2cdb3d to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
export RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links -D rustdoc::private_intra_doc_links"
# https://github.com/autonomys/subspace/tree/main/.github/workflows
cargo -Zgitoxide -Zgit clippy --target-dir target/watch-clippy --locked --release --all-targets --features "runtime-benchmarks" -- -D warnings && \
cargo -Zgitoxide -Zgit doc --target-dir target/watch-doc --locked --all --no-deps --lib && \
cargo -Zgitoxide -Zgit build --target-dir target/watch-build --locked --release --bin subspace-farmer --bin subspace-node && \
cargo -Zgitoxide -Zgit nextest run --target-dir target/watch-test --locked --release && \
cargo fmt --all -- --check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment