v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
11
scripts/format-source.sh
Normal file
11
scripts/format-source.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd "`dirname \"$0\"`/../source"
|
||||
|
||||
: ${CLANG_FORMAT:=clang-format}
|
||||
|
||||
for file in *; do
|
||||
if [ $file != "extern" -a -d $file ]; then
|
||||
find $file \( -name '*.cpp' -or -name '*.hpp' \) -exec $CLANG_FORMAT -fallback-style=none -i {} \;
|
||||
fi
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue