mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
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:
@@ -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
3
scripts/clippy.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
# Run clippy for all Rust code in the project.
|
||||
cargo clippy --workspace --tests --examples --benches -- -D warnings
|
||||
Reference in New Issue
Block a user