fix many issues with this repo
All checks were successful
check-formatting / check-formatting (push) Successful in 4m8s

This commit is contained in:
2025-04-11 10:41:28 +02:00
parent 89a735326d
commit eb318d32c5
44 changed files with 1107 additions and 243 deletions

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

@ -0,0 +1,8 @@
#!/bin/bash
# Go to repository root
cd "$(dirname "$0")/.." || exit 2
CLANG_FORMAT_BIN="${CLANG_FORMAT_BIN:-clang-format}"
find ./src -iname '*.hpp' -o -iname '*.cpp' | xargs $CLANG_FORMAT_BIN -Werror -ferror-limit=1 --dry-run