Set up linter

This commit is contained in:
2024-12-25 18:08:55 +00:00
parent 5c49bb98ce
commit 69b958d393
3 changed files with 11 additions and 0 deletions

4
scripts/lint.sh Executable file
View File

@@ -0,0 +1,4 @@
scripts_dir=`dirname $0`
sh "$scripts_dir/sources.sh" \
| xargs -n 1 clang-tidy -p "$scripts_dir/../build" \
--warnings-as-errors='*'