Update formatting rules
This commit is contained in:
parent
8609f5b2f2
commit
5ba1cbaf8e
3 changed files with 109 additions and 345 deletions
|
|
@ -6,7 +6,7 @@
|
|||
TMPDIR=`mktemp -d`
|
||||
|
||||
# Reformat a single file to tmp/
|
||||
uncrustify -c ./buildroot/share/extras/uncrustify.cfg -f "$1" >$TMPDIR/uncrustify.out
|
||||
uncrustify -l CPP -c ./buildroot/share/extras/uncrustify.cfg -f "$1" >$TMPDIR/uncrustify.out
|
||||
|
||||
# Replace the original file
|
||||
cp "$TMPDIR/uncrustify.out" "$1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue