We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6197ad commit 6535fcaCopy full SHA for 6535fca
scripts/clang-tidy.sh
@@ -7,6 +7,9 @@ if ! root=$(git rev-parse --show-toplevel); then
7
exit 2
8
fi
9
10
+[[ -n ${MAKEFLAGS} ]] && echo "Warning: MAKEFLAGS is ignored" >&2
11
+unset MAKEFLAGS # We do not want parallel builds when running bear
12
+
13
cd "${root}"
14
15
rebuild=0
@@ -58,8 +61,9 @@ EOF
58
61
59
62
60
63
cd build
- rm -rf clang-tidy.out compile_commands.json src
64
+ rm -rf clang-tidy.out compile_commands.json
65
make -j clean
66
+ rm -rf src
67
bear -- make install
68
cd ..
69
0 commit comments