4 lines
134 B
Bash
4 lines
134 B
Bash
cd "$(git rev-parse --show-toplevel)"
|
|
find . -not \( -path build -prune \) -name '*.c' -o -name '*.h' \
|
|
| xargs -n 1 clang-format -i
|