sj4/tools/format.sh
2026-06-21 20:32:04 +09:00

5 lines
219 B
Bash
Executable file

#!/bin/sh
while [ ! -d .git ]; do
cd ..
done
clang-format --verbose -i `find src lib include "(" -name "*.c" -or -name "*.h" ")" -and -not -name sj_euc2ucs.h -and -not -name sj_ucs2euc.h -and -not -name maindic"*".c`