sj4/tools/format.sh

5 lines
158 B
Bash
Raw Normal View History

2026-06-19 01:49:53 +09:00
#!/bin/sh
2026-06-19 02:39:41 +09:00
while [ ! -d .git ]; do
cd ..
done
2026-06-19 18:21:53 +09:00
clang-format --verbose -i `find src lib include "(" -name "*.c" -or -name "*.h" ")" -and -not -name ucstable.h`