Add Clippy to the CI

This commit is contained in:
Roey Darwish Dror
2018-09-14 13:52:38 +03:00
parent 669497ef5e
commit 1d5c69ea53
3 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ set -ex
# TODO This is the "test phase", tweak it as you see fit
main() {
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cross check --target $TARGET
cross check --target $TARGET --release