Closed shawntabrizi closed 3 months ago
This PR introduces a check.sh script which does:
check.sh
cargo +nightly fmt
cargo clippy --fix
cargo test
On the whole project.
I use RUSTFLAGS="-A unused" to ignore unused warnings, so the whole script should run without warnings or errors across the whole project.
RUSTFLAGS="-A unused"
You can run check.sh fix to run fixes on the repo
check.sh fix
This PR introduces a
check.sh
script which does:cargo +nightly fmt
cargo clippy --fix
cargo test
On the whole project.
I use
RUSTFLAGS="-A unused"
to ignore unused warnings, so the whole script should run without warnings or errors across the whole project.You can run
check.sh fix
to run fixes on the repo