Skip to content

Commit a1ec8b7

Browse files
committed
Build the rustfmt binary and feature binary in quiet mode
This cleans up the diff check job output and makes it less noisy
1 parent 71c3f68 commit a1ec8b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/check_diff.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ function compile_rustfmt() {
123123
git remote add feature $REMOTE_REPO
124124
git fetch feature $FEATURE_BRANCH
125125

126-
cargo build --release --bin rustfmt && cp target/release/rustfmt $1/rustfmt
126+
cargo build -q --release --bin rustfmt && cp target/release/rustfmt $1/rustfmt
127127
if [ -z "$OPTIONAL_COMMIT_HASH" ] || [ "$FEATURE_BRANCH" = "$OPTIONAL_COMMIT_HASH" ]; then
128128
git switch $FEATURE_BRANCH
129129
else
130130
git switch $OPTIONAL_COMMIT_HASH --detach
131131
fi
132-
cargo build --release --bin rustfmt && cp target/release/rustfmt $1/feature_rustfmt
132+
cargo build -q --release --bin rustfmt && cp target/release/rustfmt $1/feature_rustfmt
133133
RUSFMT_BIN=$1/rustfmt
134134
FEATURE_BIN=$1/feature_rustfmt
135135
}

0 commit comments

Comments
 (0)