nekolib/format.sh
2019-06-22 10:00:54 -04:00

3 lines
286 B
Bash
Executable File

find ./src -name \*.h\* -print -o -name \*.c\* -print | xargs clang-format -style='{BasedOnStyle: Google, Language: Cpp, IndentWidth: 4}' -i
find ./include -name \*.h\* -print -o -name \*.c\* -print | xargs clang-format -style='{BasedOnStyle: Google, Language: Cpp, IndentWidth: 4}' -i