added option

Added the inplace editing option.
This commit is contained in:
Jake Goodwin 2024-08-04 08:43:07 -07:00
parent 0723cb259b
commit 0a9d348710
1 changed files with 2 additions and 2 deletions

View File

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