CI: fix formatting check

This commit is contained in:
zv0n 2021-10-18 10:10:28 +02:00
parent f4a067fe23
commit 303490a619

View File

@ -28,4 +28,4 @@ steps:
image: cppbuilder:v0.5
commands:
- cd mario
- find . -path "./build" -prune -or \( -iname "*.cpp" -or -iname "*.hpp" \) | xargs -P0 -I{} clang-format -style=file --dry-run -Werror {}
- find . -path "./build" -prune -or -path "./.cache" -prune -or -iname "*.cpp" -or -iname "*.hpp" -print | xargs -P0 -I{} clang-format -style=file --dry-run -Werror {}