diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2020-06-23 13:37:14 +0300 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2020-06-23 11:13:14 +0000 |
commit | e4e0218edef0c0401649ce80562eacb6820e213e (patch) | |
tree | 6a0d49243ed2ddf82e16533fb575a896fb78e066 /ci | |
parent | 43c0ad6ea9d2467ccf867a310c4f1e30f5b627c6 (diff) | |
download | alacritty-e4e0218edef0c0401649ce80562eacb6820e213e.tar.gz alacritty-e4e0218edef0c0401649ce80562eacb6820e213e.zip |
Run rustfmt on sr.ht
This should provide more clear feedback whether rustfmt
job is failed or not.
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/install.sh | 5 | ||||
-rwxr-xr-x | ci/script.sh | 6 |
2 files changed, 0 insertions, 11 deletions
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 |