Add clang-format test to CI
So a lot of cleanup commits can be omitted.
https://stackoverflow.com/questions/68174697/check-coding-style-with-gitlab-ci
format:
stage: test
image: nexus.lumiplan.com:8443/toolchain/clang-format:13
needs: []
script:
- find rootToYourProject \( \( -name \*.cpp -o -name \*.h \) -a ! -iname \*soap\* \) -print0 | xargs -0 -n 1 clang-format-13 --Werror -n --verbose
only:
- merge_requests