1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

[Companion] Copyright added to all files

This commit is contained in:
Bertrand Songis 2016-11-23 16:40:31 +01:00
parent 5f9737fc70
commit b0f5b646af
183 changed files with 3525 additions and 507 deletions

13
tools/codeformat.sh Normal file
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