Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Use `--workspace` flag for `scripts/check-rs`
Sebastian Martinez committed 0 years ago
commit c32054080347c12a507cbbe5059e3605d0b832ec
parent a26526711070f21d83977b03233fcbecff5c5d5d
1 file changed +4 -9
modified 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