ci: coding style checker#27
Conversation
Unfortunately, there's no easy way to apply the clang format recursively from the command line. find . -iname '*.hpp' -o -iname '*.cpp' | xargs clang-format -i |
f03a17a to
c23e058
Compare
Can you find a way to use it on windows please ? |
For powershell: Get-ChildItem -Recurse -Include *.cpp, *.hpp | ForEach-Object {
clang-format -i $_.FullName
}Or use git bash on Windows. |
|
Please, fix conflicts, put theses 2 commands (for linux and for windows) with dependencies into the documentation (README is enough) and you can merge this PR |
Both commands are already in the README, and as for the conflicts, since it was your code, I wanted to let you take care of them. |
…uared/EngineSquared into 13-coding-style-checker
Add the Clang-Format configuration file and apply it via a git action.
Partially linked to: