Update from upstream #85

Merged
meierj merged 91 commits from mueller/update-from-upstream into develop 2022-05-16 22:08:28 +02:00
1 changed files with 6 additions and 0 deletions
Showing only changes of commit 994c7299b9 - Show all commits

View File

@ -3,6 +3,12 @@ if [[ ! -f README.md ]]; then
cd ..
fi
cmake_fmt="python3 -m cmake-format"
if command -v ${cmake_fmt} &> /dev/null
cmake_fmt_cmd=${cmake_fmt} -i CMakeLists.txt
eval ${cmake_fmt_cmd}
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