]> code.octet-stream.net Git - hashgood/blob - buildscripts/lint.sh
Fix clippy lint for write! vs writeln!
[hashgood] / buildscripts / lint.sh
1 #!/bin/bash
2 set -euxo pipefail
3 cd "$(git rev-parse --show-toplevel)"
4 source buildscripts/init.sh "$1"
5
6 cargo clippy --all-targets --target "${RUST_TARGET}" -- -D warnings
7 cargo fmt --all --check