sj4/tools/format.sh
2026-06-21 17:56:32 +09:00

5 lines
187 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 ucstable.h -and -not -name maindic"*".c`