Set up auto-formatter

This commit is contained in:
2024-12-25 18:08:53 +00:00
parent 21cf170b5a
commit 5c49bb98ce
5 changed files with 37 additions and 0 deletions

2
scripts/check-format.sh Executable file
View File

@@ -0,0 +1,2 @@
scripts_dir=`dirname $0`
sh "$scripts_dir/sources.sh" | xargs -n 1 clang-format --dry-run --Werror