14 lines
253 B
Bash
Executable file
14 lines
253 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
main() {
|
|
find web/ core/ \( -name '*.c' -o -name '*.h' \) -type f -print | while read -r file; do
|
|
echo "Running clang-tidy on $file"
|
|
clang-tidy "$file" --
|
|
done
|
|
|
|
echo 'clang-tidy analysis complete'
|
|
}
|
|
|
|
main
|