updated not to format the test sources.
This commit is contained in:
parent
5178c69a14
commit
3d5c460865
1 changed files with 2 additions and 2 deletions
4
otto.sh
4
otto.sh
|
|
@ -28,7 +28,7 @@ generate_tags_file () {
|
|||
|
||||
format_source_code () {
|
||||
#Get a list of all C files
|
||||
source_c_files=$(find ./src ./tests -name '*.c')
|
||||
source_c_files=$(find ./src ./tests/shared -name '*.c')
|
||||
for f in $source_c_files; do
|
||||
clang-format -i -style=file $f
|
||||
done
|
||||
|
|
@ -40,7 +40,7 @@ format_source_code () {
|
|||
done
|
||||
|
||||
#Get a list of all Cpp files.
|
||||
source_cpp_files=$(find ./src ./tests -name '*.cpp')
|
||||
source_cpp_files=$(find ./src ./tests/shared -name '*.cpp')
|
||||
for f in $source_cpp_files; do
|
||||
clang-format -i -style=file $f
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue