vessel/scripts/tidy.sh
2025-06-14 16:25:52 +03:00

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