updated not to format the test sources.

This commit is contained in:
Jake Goodwin 2025-12-21 21:08:15 -08:00
parent 5178c69a14
commit 3d5c460865

View file

@ -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