Update formatting rules

This commit is contained in:
Scott Lahteine
2020-06-14 00:01:37 -05:00
parent 8609f5b2f2
commit 5ba1cbaf8e
3 changed files with 109 additions and 345 deletions

View File

@ -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"