Add clang-format-all.sh to format entire repo
This commit is contained in:
parent
2474cb7f46
commit
8ea4e6801a
1 changed files with 4 additions and 0 deletions
4
ci/clang-format-all.sh
Executable file
4
ci/clang-format-all.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue