File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -ex
3
3
4
+ # for faster build, share target dir between subcrates
5
+ CARGO_TARGET_DIR=$( pwd) /target/
6
+ export CARGO_TARGET_DIR
7
+
4
8
echo " Running clippy base tests"
5
9
6
10
PATH=$PATH :./node_modules/.bin
10
14
# build clippy in debug mode and run tests
11
15
cargo build --features " debugging deny-warnings"
12
16
cargo 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
+
16
18
(cd clippy_lints && cargo test)
17
19
(cd rustc_tools_util && cargo test)
18
20
(cd clippy_dev && cargo test)
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
+ CARGO_TARGET_DIR=$( pwd) /target/
3
+ export CARGO_TARGET_DIR
2
4
3
- cd clippy_dev && cargo run -- $@
5
+ cd clippy_dev && cargo run -- " $@ "
You can’t perform that action at this time.
0 commit comments