parent
0723cb259b
commit
0a9d348710
4
otto.sh
4
otto.sh
|
@ -19,13 +19,13 @@ format_source_code () {
|
|||
#Get a list of all C files
|
||||
source_c_files=$(find ./src -name '*.c')
|
||||
for f in $source_c_files; do
|
||||
clang-format -style=.clang-format $f
|
||||
clang-format -i -style=.clang-format $f
|
||||
done
|
||||
|
||||
#Get a list of all H files
|
||||
source_h_files=$(find ./src -name '*.h')
|
||||
for f in $source_h_files; do
|
||||
clang-format -style=.clang-format $f
|
||||
clang-format -i -style=.clang-format $f
|
||||
done
|
||||
|
||||
echo "Applying Formating standard!"
|
||||
|
|
Loading…
Reference in New Issue