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