automerge/scripts/ci/lint

9 lines
268 B
Text
Raw Normal View History

2021-12-20 20:09:58 +00:00
#!/usr/bin/env bash
set -eoux pipefail
cd rust
2021-12-20 20:09:58 +00:00
# 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-targets --all-features -- -D warnings