Add format script

This commit is contained in:
Max Brunsfeld 2014-07-20 21:42:46 -07:00
parent df359bc01f
commit b8d8386e63
2 changed files with 53 additions and 0 deletions

6
script/format.sh Executable file
View 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