Add uncrustify helper scripts

This commit is contained in:
George Oikonomou 2013-05-17 18:52:06 +01:00
parent a3e63d05d2
commit 250de6201b
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
uncrustify -q -c `dirname $0`/uncrustify.cfg -f $1 | diff -u $1 --to-file=/dev/stdin

View File

@ -0,0 +1,2 @@
#!/bin/sh
uncrustify --no-backup --replace -c `dirname $0`/uncrustify.cfg $*