From 3d5c460865f831f9517559acdb0977ab032890ca Mon Sep 17 00:00:00 2001 From: jake-g00dwin Date: Sun, 21 Dec 2025 21:08:15 -0800 Subject: [PATCH] updated not to format the test sources. --- otto.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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