From e6fedd81a8e26ca8e8bf3ae12a4f58ea03b574b0 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 11 Feb 2021 23:02:11 +0100 Subject: [PATCH] Remove --write-mode=diff from the cargo call in the CI --- appveyor.yml | 2 +- ci/script.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 883d853..824a63a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -45,7 +45,7 @@ install: test_script: # we don't run the "test phase" when doing deploys - if [%APPVEYOR_REPO_TAG%]==[false] ( - cargo fmt --all -- --write-mode=diff && + cargo fmt --all && cargo build --target %TARGET% && cargo build --target %TARGET% --release && cargo test --target %TARGET% && diff --git a/ci/script.sh b/ci/script.sh index 0269b96..2bd1c5c 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -4,7 +4,7 @@ set -ex # TODO This is the "test phase", tweak it as you see fit main() { - cargo fmt --all -- --write-mode=diff + cargo fmt --all cross build --target $TARGET cross build --target $TARGET --release