Auto-Formatter Script Improvements #626

Merged
gaisser merged 9 commits from mueller/amft-cmakelists into development 2022-05-13 12:01:40 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d4a6f987bc - Show all commits

View File

@ -12,7 +12,7 @@ else
fi
cpp_format="clang-format"
if command -v ${clang-format} &> /dev/null; then
if command -v ${cpp_format} &> /dev/null; then
find ./src -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
find ./hal -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
find ./tests -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i