1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 05:15:18 +03:00
opentx/radio/util/codeformat.sh
Bertrand Songis 406e69ab1d Cosmetics
2015-08-01 20:20:18 +02:00

13 lines
264 B
Bash
Executable file

#!/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