repo.or.cz
/
opentx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fr translation (#5451)
[opentx.git]
/
tools
/
codeformat.sh
blob
67b6bf0c9298c4228323f3fac9622595e4aee9a5
1
#!/bin/bash
2
3
for
f
in
`find ../src -regex '.*\.\(c\|cpp\|h\)$' -print`
4
do
5
if
[[
$f
!= *
"thirdparty"
* ]]
6
then
7
dos2unix
$f $f
8
uncrustify
-c
.
/
uncrustify.cfg
--no-backup
$f
9
.
/
copyright.py .
/
copyright-header.txt
$f
10
.
/
include-guard.py
$f
11
fi
12
done
13