summaryrefslogtreecommitdiffstats
path: root/fmt.sh
blob: 81615397ef2cbf7a81cf0ece46c5c7a14504b8e9 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

clang-format \
    -style=file \
    -i \
    src/*.c \
    src/*.h \
    `find plugins -type f -name '*.c'` \
    `find plugins -type f -name '*.h'`