Files
SpacetimeDB/tools/clippy.sh
james gilles 0ed26a774b Add some helper scripts (#1501)
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-07-18 19:47:11 +00:00

13 lines
258 B
Bash
Executable File

#!/bin/env bash
script_dir="$(readlink -f "$(dirname "$0")")"
stdb_root="$(realpath "$script_dir/../")"
set -euox pipefail
cd "$stdb_root"
cargo check --all --tests --benches
cargo fmt --all -- --check
cargo clippy --all --tests --benches -- -D warnings