automerge/scripts/ci/lint
2021-12-24 10:18:16 -08:00

7 lines
260 B
Bash
Executable file

#!/usr/bin/env bash
set -eoux pipefail
# Force clippy to consider all local sources
# https://github.com/rust-lang/rust-clippy/issues/4612
find . -name "*.rs" -not -path "./target/*" -exec touch "{}" +
cargo clippy --all-features --all-targets -- -D warnings