1 2 3 4 5 6 7 8 9 10 11 12 13
#!/usr/bin/env bash set -e echo "Running cargo fmt --check..." cargo fmt --all -- --check echo "Running cargo clippy..." cargo clippy --all-targets --all-features -- -D warnings echo "Running cargo test..." cargo test --quiet echo "All checks passed."