summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:44:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:44:33 +0000
commitb196c6498d22e47bb9d0da0153068ec54eac7956 (patch)
tree1a994a492581e93224a7ee6455f5d4e9d2ec8e59 /scripts
parentInitial commit. (diff)
downloadopentracing-cpp-upstream/1.6.0.tar.xz
opentracing-cpp-upstream/1.6.0.zip
Adding upstream version 1.6.0.upstream/1.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xscripts/run_clang_format.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/run_clang_format.sh b/scripts/run_clang_format.sh
new file mode 100755
index 0000000..9a2d397
--- /dev/null
+++ b/scripts/run_clang_format.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+find . -path ./3rd_party -prune -o \( -name '*.h' -or -name '*.cpp' \) \
+ -exec clang-format -i {} \;