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:
parent
5f9737fc70
commit
b0f5b646af
183 changed files with 3525 additions and 507 deletions
13
tools/codeformat.sh
Normal file
13
tools/codeformat.sh
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue