Fix run-clang-tidy.sh
This commit is contained in:
parent
4383cf1114
commit
d91a7358c0
@ -23,6 +23,7 @@ Checks: |
|
||||
-cppcoreguidelines-pro-type-vararg,
|
||||
-misc-macro-parentheses,
|
||||
-misc-unused-raii
|
||||
#WarningsAsErrors: '*'
|
||||
WarningsAsErrors: ''
|
||||
HeaderFilterRegex: '/src/|/test/'
|
||||
CheckOptions:
|
||||
|
@ -13,8 +13,4 @@ NUMCORES=`nproc`
|
||||
# Run cmake in current working directory, but on source that is in the same directory as this script file
|
||||
cmake -DBUILD_TESTING=on -DCMAKE_EXPORT_COMPILE_COMMANDS=ON "${0%/*}"
|
||||
|
||||
# Build scrypt first. Our Makefiles call ino theirs, and this is needed to generate some header files. Clang-tidy will otherwise complain they're missing.
|
||||
make -j${NUMCORES} scrypt
|
||||
|
||||
run-clang-tidy.py -j${NUMCORES} -quiet -header-filter "$(realpath ${0%/*})/(src|test)/.*" $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user