add local rust checks script

to simulate as much of the ci pipeline as possible
This commit is contained in:
extrawurst 2023-10-13 11:52:06 +02:00 committed by extrawurst
parent cf1bdabc82
commit 977d441250

8
scripts/check.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
cargo c --all-features
cargo clippy --all-features
# cargo clippy -- --cfg test
cargo t
cargo fmt --check
cargo sort -c -w