Add uncrustify helper scripts
This commit is contained in:
parent
a3e63d05d2
commit
250de6201b
2
tools/code-style/uncrustify-check-style.sh
Executable file
2
tools/code-style/uncrustify-check-style.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
uncrustify -q -c `dirname $0`/uncrustify.cfg -f $1 | diff -u $1 --to-file=/dev/stdin
|
2
tools/code-style/uncrustify-fix-style.sh
Executable file
2
tools/code-style/uncrustify-fix-style.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
uncrustify --no-backup --replace -c `dirname $0`/uncrustify.cfg $*
|
Loading…
Reference in New Issue
Block a user