summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clang-format-all.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/clang-format-all.sh b/scripts/clang-format-all.sh
new file mode 100755
index 0000000..38091fb
--- /dev/null
+++ b/scripts/clang-format-all.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+dirs="kms++ kmscube kms++util py utils"
+find $dirs \( -name "*.cpp" -o -name "*.h" \) -exec clang-format -i {} \;