summaryrefslogtreecommitdiffstats
path: root/fmt.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xfmt.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/fmt.sh b/fmt.sh
new file mode 100755
index 0000000..8161539
--- /dev/null
+++ b/fmt.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+clang-format \
+ -style=file \
+ -i \
+ src/*.c \
+ src/*.h \
+ `find plugins -type f -name '*.c'` \
+ `find plugins -type f -name '*.h'`