2022-01-17 13:14:14 +01:00
|
|
|
#!/bin/bash
|
|
|
|
if [[ ! -f README.md ]]; then
|
|
|
|
cd ..
|
|
|
|
fi
|
|
|
|
|
2022-01-17 13:48:55 +01:00
|
|
|
find ./mission -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
|
2022-01-17 13:14:14 +01:00
|
|
|
find ./linux -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
|
|
|
|
find ./bsp_q7s -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
|
|
|
|
find ./bsp_linux_board -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
|
|
|
|
find ./bsp_hosted -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
|
|
|
|
find ./test -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
|