aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-02-14 14:06:30 +0100
committerTaras Madan <tarasmadan@google.com>2025-02-17 22:16:09 +0000
commit8ad800dd406a16e5c45c320a7eddd75a1013f7d9 (patch)
tree235f449c2d3dd97c2251443f08c17b6812d6c89f /Makefile
parent429ea00719313e5b518a2093a9f48c79bb7b5f52 (diff)
go.mod: add github.com/google/keep-sorted
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d3dbc0869..c47ac9471 100644
--- a/Makefile
+++ b/Makefile
@@ -261,6 +261,8 @@ format: format_go format_cpp format_sys
format_go:
$(GO) fmt ./...
+ $(HOSTGO) install github.com/google/keep-sorted
+ find . -name "*.go" -exec bin/keep-sorted {} \;
format_cpp:
clang-format --style=file -i executor/*.cc executor/*.h \