summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/format.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/format.sh b/utils/format.sh
new file mode 100644
index 00000000..7d557e1c
--- /dev/null
+++ b/utils/format.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+find src -type f \( -iname '*.c' -or -iname '*.h' \) -exec clang-format -i -style=file {} \;
+
bgstack15