Forbid clippy warnings

This commit is contained in:
Roey Darwish Dror
2018-10-29 14:18:47 +02:00
parent b104fec7c4
commit c0942e12a3
2 changed files with 3 additions and 1 deletions

View File

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

View File

@@ -1,3 +1,5 @@
#![cfg_attr(feature = "cargo-clippy", deny(clippy::all))]
extern crate directories; extern crate directories;
extern crate failure; extern crate failure;
extern crate which; extern crate which;