Add scripts/clippy.sh

The script makes it easier to manually check REPL and benchmark code
with clippy without the need to copy-paste all the flags.
This commit is contained in:
link2xt
2023-02-11 11:55:00 +00:00
parent 51ee564246
commit 1a49bc85b8
3 changed files with 6 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ and an own build machine.
## Description of scripts
- `clippy.sh` runs `cargo clippy` for all Rust code in the project.
- `../.github/workflows` contains jobs run by GitHub Actions.
- `remote_tests_python.sh` rsyncs to a build machine and runs

3
scripts/clippy.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
# Run clippy for all Rust code in the project.
cargo clippy --workspace --tests --examples --benches -- -D warnings