Skip to content

Commit 7b87a21

Browse files
committed
tools: don't build all crates for quality reports
Only coupe-tools binary are used actually. This reduces the number of dependencies to build.
1 parent 48c2d88 commit 7b87a21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/report/common.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,3 @@ command -v jq >/dev/null || {
5959
}
6060

6161
TARGET_DIR=$(cargo metadata --format-version=1 | jq -r '.target_directory')
62-
PATH="$TARGET_DIR/release:$PATH"

tools/report/quality

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
set -e
33

44
. "$(dirname "$0")"/common.sh
5-
cargo build --all --bins --release
5+
cargo build -p coupe-tools --bins --release
6+
PATH="$TARGET_DIR/release:$PATH"
67

78
OUTPUT_DIR="$TARGET_DIR/coupe-report"
89
say mkdir "$OUTPUT_DIR"

0 commit comments

Comments
 (0)