7 lines
248 B
Bash
7 lines
248 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Runs the Clang Tidy Tool in parallel on the code base.
|
||
|
# Requires a compilation database in the build directory.
|
||
|
|
||
|
git ls-files '*.cpp' | grep -v third_party | xargs -I{} -P $(nproc) clang-tidy -p build -header-filter='.*' {}
|