diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-04 21:58:33 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-04 21:58:33 -0400 |
| commit | bb1459fe29b5d6004bcdad6551242fa5f8319d00 (patch) | |
| tree | 44253a626141e186bd5cbeda72e454af810da489 /tools/format-all | |
| parent | 7371d1028b20e72991cba0fd85469f8dd953ca1d (diff) | |
fix: Fix padding issue
Too much padding was added, instead of adding the remainder in padding,
the amount written was added as padding.
Diffstat (limited to 'tools/format-all')
| -rwxr-xr-x | tools/format-all | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/format-all b/tools/format-all new file mode 100755 index 0000000..0493a98 --- /dev/null +++ b/tools/format-all @@ -0,0 +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 {} + |
