We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6a4bea commit 9a12baaCopy full SHA for 9a12baa
tests/ui/update-all-references.sh
@@ -12,7 +12,10 @@ if [[ "$1" == "--help" || "$1" == "-h" ]]; then
12
echo "usage: $0"
13
fi
14
15
-BUILD_DIR=$PWD/target/debug/test_build_base
+CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-$PWD/target}
16
+PROFILE=${PROFILE:-debug}
17
+BUILD_DIR=${CARGO_TARGET_DIR}/${PROFILE}/test_build_base
18
+
19
MY_DIR=$(dirname "$0")
20
cd "$MY_DIR" || exit
21
find . -name '*.rs' -exec ./update-references.sh "$BUILD_DIR" {} +
0 commit comments