Add clang-format-all.sh to format entire repo

This commit is contained in:
androm3da 2018-01-05 22:33:16 -06:00
commit 8ea4e6801a

4
ci/clang-format-all.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
REPO_ROOT=$(git rev-parse --show-toplevel)
find ${REPO_ROOT}/rai -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' | xargs clang-format -i