#2106 - Script which will unify line endings (and code formatting)

This commit is contained in:
Bertrand Songis
2015-08-01 20:17:30 +02:00
parent 40c34644b8
commit 753cb4f01c
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
for f in `find ../src -regex '.*\.\(c\|cpp\|h\)$' -print`
do
if [[ $f != *"thirdparty"* ]]
then
dos2unix $f $f
uncrustify -c ~/uncrustify.cfg --no-backup $f
./copyright.py ./copyright-header.txt $f
./include-guard.py $f
fi
done