awtk/format.sh
2018-08-06 17:46:27 +08:00

7 lines
337 B
Bash
Executable File

find src tools demos tests -name \*.c -exec clang-format -i {} \;
find src tools demos tests -name \*.h -exec clang-format -i {} \;
find src tools demos tests -name \*.cc -exec clang-format -i {} \;
find src tools demos tests -name \*.cpp -exec clang-format -i {} \;
find src tools demos tests -name \*.inc -exec clang-format -i {} \;