summaryrefslogtreecommitdiff
path: root/tools/protobuf/format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/protobuf/format.sh')
-rwxr-xr-xtools/protobuf/format.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/protobuf/format.sh b/tools/protobuf/format.sh
new file mode 100755
index 0000000..11c9164
--- /dev/null
+++ b/tools/protobuf/format.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+DEPS=$(find api -type f -name "*.proto")
+clang-format -i --sort-includes "$DEPS" \ No newline at end of file