diff --git a/ci/script.sh b/ci/script.sh index 8e594ac0..ee3383d1 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -5,7 +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 + cargo clippy --all-targets --all-features -- -D warnings cross check --target $TARGET cross check --target $TARGET --release diff --git a/src/main.rs b/src/main.rs index a079b72d..891c6155 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,3 @@ -#![cfg_attr(feature = "cargo-clippy", deny(clippy::all))] - extern crate directories; extern crate failure; extern crate which;