summaryrefslogtreecommitdiffstats
path: root/bin/format_source
blob: b0b695c9f89b3f3eeea12946ab08479525674889 (plain)
1
2
3
4
5
6
#!/bin/bash
find . -type d \( -path ./config \) -prune \
    -o -iname *.h -o -iname *.c -o -iname *.cpp -o -iname *.hpp \
    | xargs clang-format -style=file -i -fallback-style=none

exit 0