Add format script
This commit is contained in:
parent
df359bc01f
commit
b8d8386e63
2 changed files with 53 additions and 0 deletions
6
script/format.sh
Executable file
6
script/format.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
find \
|
||||
src include \
|
||||
-name '*.c' -or -name '*.cc' -or -name '*.h' | \
|
||||
xargs clang-format -i -style=file
|
||||
Loading…
Add table
Add a link
Reference in a new issue