Write script for formatting code

This commit is contained in:
cdo committed 2024-10-25 14:22:20 +01:00
1 parent 308deb3886
commit 8f4fe21bcf
2 files changed
+26

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
cd "$(git rev-parse --show-toplevel)"
find . -not \( -path './.git' -prune \) \
-not \( -path './build' -prune \) \
-name '*.c' -o -name '*.h' \
| xargs -n 1 clang-format -i