Skip to content

Commit 090a499

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 5297d6e commit 090a499

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
@@ -122,13 +122,13 @@ function compile_rustfmt() {
122122
git remote add feature $REMOTE_REPO
123123
git fetch feature $FEATURE_BRANCH
124124

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

0 commit comments

Comments
 (0)