From e4e0218edef0c0401649ce80562eacb6820e213e Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Tue, 23 Jun 2020 13:37:14 +0300 Subject: Run rustfmt on sr.ht This should provide more clear feedback whether rustfmt job is failed or not. --- ci/install.sh | 5 ----- ci/script.sh | 6 ------ 2 files changed, 11 deletions(-) (limited to 'ci') diff --git a/ci/install.sh b/ci/install.sh index ccbe3728..ad62a190 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -4,8 +4,3 @@ if [ "$CLIPPY" == "true" ]; then rustup component add clippy fi - -# Add rustfmt for format validation -if [ "$RUSTFMT" == "true" ]; then - rustup component add rustfmt -fi diff --git a/ci/script.sh b/ci/script.sh index 87dc872f..cc4656ae 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -6,12 +6,6 @@ if [ "$CLIPPY" == "true" ]; then exit fi -# Run clippy rustfmt -if [ "$RUSTFMT" == "true" ]; then - cargo fmt -- --check - exit -fi - # Run test in release mode if a tag is present, to produce an optimized binary if [ -n "$TRAVIS_TAG" ]; then # Build separately so we generate an 'alacritty' binary without -HASH appended -- cgit