9 lines
280 B
Bash
9 lines
280 B
Bash
|
#!/bin/bash
|
||
|
if [[ ! -f README.md ]]; then
|
||
|
cd ..
|
||
|
fi
|
||
|
|
||
|
find ./src -iname *.h -o -iname *.cpp | xargs clang-format --style=file -i
|
||
|
find ./hal -iname *.h -o -iname *.cpp | xargs clang-format --style=file -i
|
||
|
find ./tests -iname *.h -o -iname *.cpp | xargs clang-format --style=file -i
|