File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -ex
33
4+ # for faster build, share target dir between subcrates
5+ CARGO_TARGET_DIR=$( pwd) /target/
6+ export CARGO_TARGET_DIR
7+
48echo " Running clippy base tests"
59
610PATH=$PATH :./node_modules/.bin
1014# build clippy in debug mode and run tests
1115cargo build --features " debugging deny-warnings"
1216cargo test --features " debugging deny-warnings"
13- # for faster build, share target dir between subcrates
14- CARGO_TARGET_DIR=$( pwd) /target/
15- export CARGO_TARGET_DIR
17+
1618(cd clippy_lints && cargo test)
1719(cd rustc_tools_util && cargo test)
1820(cd clippy_dev && cargo test)
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ if [[ -z "$INTEGRATION" ]]; then
55 exit 0
66fi
77
8+ CARGO_TARGET_DIR=$( pwd) /target/
9+ export CARGO_TARGET_DIR
10+
811rm ~ /.cargo/bin/cargo-clippy
912cargo install --force --debug --path .
1013
Original file line number Diff line number Diff line change 11#! /bin/sh
2+ CARGO_TARGET_DIR=$( pwd) /target/
3+ export CARGO_TARGET_DIR
24
3- cd clippy_dev && cargo run -- $@
5+ cd clippy_dev && cargo run -- " $@ "
You can’t perform that action at this time.
0 commit comments