From c32054080347c12a507cbbe5059e3605d0b832ec Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Tue, 20 May 2025 11:27:17 +0200 Subject: [PATCH] Use `--workspace` flag for `scripts/check-rs` --- scripts/check-rs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/scripts/check-rs b/scripts/check-rs index 1276ae382..4f43dde31 100755 --- a/scripts/check-rs +++ b/scripts/check-rs @@ -1,12 +1,7 @@ #!/bin/sh set -e -crates="radicle-tauri radicle-types test-http-api" - -for crate in $crates; do - echo "Running checks for: $crate" - cargo check --manifest-path ./crates/"$crate"/Cargo.toml - cargo clippy --manifest-path ./crates/"$crate"/Cargo.toml -- -Dwarnings - cargo fmt --manifest-path ./crates/"$crate"/Cargo.toml --check - cargo test --manifest-path ./crates/"$crate"/Cargo.toml -done +cargo fmt --check +cargo clippy --workspace -- -Dwarnings +cargo check --workspace +cargo test --workspace