1
0
forked from fsfw/fsfw

clean up a few tests

This commit is contained in:
2022-08-03 13:15:49 +02:00
parent df690b9628
commit 60ea9a9a7c
36 changed files with 160 additions and 198 deletions

View File

@ -7,7 +7,8 @@ cmake_fmt="cmake-format"
file_selectors="-iname CMakeLists.txt"
if command -v ${cmake_fmt} &> /dev/null; then
${cmake_fmt} -i CMakeLists.txt
find ./src ${file_selectors} | xargs ${cmake_fmt} -i
find ./src ${file_selectors} | xargs ${cmake_fmt} -i
find ./unittests ${file_selectors} | xargs ${cmake_fmt} -i
else
echo "No ${cmake_fmt} tool found, not formatting CMake files"
fi