diff options
Diffstat (limited to 'tools/format-all')
| -rwxr-xr-x | tools/format-all | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/format-all b/tools/format-all index 0493a98..af0189d 100755 --- a/tools/format-all +++ b/tools/format-all @@ -1,5 +1,5 @@ #!/usr/bin/env bash -find . -type f -name "*.c" -print0 | xargs -0 -I {} clang-format -i {} -find . -type f -name "*.h" -print0 | xargs -0 -I {} clang-format -i {} +find . -type f -name "*.c" -not -path "./mk/*" -print0 | xargs -0 -I {} clang-format -i {} +find . -type f -name "*.h" -not -path "./mk/*" -print0 | xargs -0 -I {} clang-format -i {} |
