summaryrefslogtreecommitdiffstats
path: root/fmt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fmt.sh')
-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..b39dcc1
--- /dev/null
+++ b/fmt.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+clang-format \
+ -style=file \
+ -i \
+ src/*.c \
+ src/dnswire/*.h \
+ src/test/*.c \
+ examples/*.c