From 37d27443432b7b84d256bd5a7c505e7ef8e09bbd Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 7 Oct 2020 08:49:33 +0300 Subject: Add .clang-format and format-all script --- scripts/clang-format-all.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/clang-format-all.sh (limited to 'scripts') 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 {} \; -- cgit v1.2.3