fsfw/scripts/apply-clang-format.sh
Robin Mueller e952a82b65
Some checks are pending
fsfw/fsfw/pipeline/pr-development Build started...
small tweaks and fixes
2021-12-07 13:14:57 +01:00

9 lines
322 B
Bash
Executable File

#!/bin/bash
if [[ ! -f README.md ]]; then
cd ..
fi
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