fsfw-example-hosted/scripts/apply-clang-format.sh

8 lines
249 B
Bash
Raw Normal View History

2022-05-05 20:55:48 +02:00
#!/bin/bash
if [[ ! -f README.md ]]; then
cd ..
fi
find ./bsp_hosted -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
find ./example_common -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i