another small fix
This commit is contained in:
parent
ec03a674bd
commit
ad0b6f1ed1
@ -4,10 +4,10 @@ if [[ ! -f README.md ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cmake_fmt="python3 -m cmake-format"
|
cmake_fmt="python3 -m cmake-format"
|
||||||
if command -v ${cmake_fmt} &> /dev/null
|
if command -v ${cmake_fmt} &> /dev/null; then
|
||||||
cmake_fmt_cmd="${cmake_fmt} -i CMakeLists.txt"
|
cmake_fmt_cmd="${cmake_fmt} -i CMakeLists.txt"
|
||||||
eval ${cmake_fmt_cmd}
|
eval ${cmake_fmt_cmd}
|
||||||
then
|
fi
|
||||||
|
|
||||||
find ./src -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
|
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 ./hal -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
|
||||||
|
Loading…
Reference in New Issue
Block a user