diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-10-07 08:49:33 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-10-09 15:54:43 +0300 |
commit | 37d27443432b7b84d256bd5a7c505e7ef8e09bbd (patch) | |
tree | db8c61884a0e8e411d2910669e7f655e762e0215 /scripts | |
parent | b5f44569ed577fcd499865aa441f22f9304d4b40 (diff) |
Add .clang-format and format-all script
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clang-format-all.sh | 4 |
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 {} \; |