aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check-codingstyle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check-codingstyle.sh')
-rwxr-xr-xtools/check-codingstyle.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/check-codingstyle.sh b/tools/check-codingstyle.sh
new file mode 100755
index 0000000..118887c
--- /dev/null
+++ b/tools/check-codingstyle.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+clang-format --dry-run lib/*.c
+clang-format --dry-run lib/*.h
+clang-format --dry-run include/*.h