diff --git a/otto.sh b/otto.sh index a49103a..46c77c2 100755 --- a/otto.sh +++ b/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