Update formatting rules
This commit is contained in:
1 parent
8609f5b2f2
commit
5ba1cbaf8e
3 files changed
+109
-345
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user