mirror of
https://github.com/chatmail/core.git
synced 2026-05-12 03:16:29 +03:00
This makes it possible to run `scripts/clippy.sh --fix --allow-dirty` to fix clippy warnings automatically.
10 lines
253 B
Bash
Executable File
10 lines
253 B
Bash
Executable File
#!/bin/sh
|
|
# Run clippy for all Rust code in the project.
|
|
#
|
|
# To check, run
|
|
# scripts/clippy.sh
|
|
#
|
|
# To automatically fix warnings, run
|
|
# scripts/clippy.sh --fix --allow-dirty
|
|
cargo clippy --workspace --all-targets --all-features "$@" -- -D warnings
|