commit 2676826a22bc5cc3338505d4ec2fd4a60561762e parent 301deac3493364237f1369598601b07b483076da Author: vx-clutch <[email protected]> Date: Sat, 1 Nov 2025 21:35:31 -0400 update format to ignore libs Diffstat:
| M | tools/format | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/format b/tools/format @@ -69,7 +69,7 @@ while test $# -gt 0; do shift done -find . -name "*.c" -exec clang-format -i --verbose {} \; -find . -name "*.h" -exec clang-format -i --verbose {} \; +find . -type f -name '*.c' ! -path './lib/*' ! -path './gcklib/*' -exec clang-format -i --verbose {} + +find . -type f -name '*.h' ! -path './lib/*' ! -path './gcklib/*' -exec clang-format -i --verbose {} + # End: format