From b0dfee149c4896806eabbde0fff3b88881d02988 Mon Sep 17 00:00:00 2001 From: Puerco Date: Thu, 13 Jun 2024 12:40:47 -0600 Subject: [PATCH] Fix tools/ bootstrap make target (#3601) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the bootsrap target to run go generate in the submodule directory Signed-off-by: Adolfo GarcĂ­a Veytia (Puerco) --- .mk/develop.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mk/develop.mk b/.mk/develop.mk index 006754082e..4bdb877e6b 100644 --- a/.mk/develop.mk +++ b/.mk/develop.mk @@ -62,7 +62,7 @@ pre-commit: ## run pre-commit hooks .PHONY: bootstrap bootstrap: ## install build deps - go generate -tags tools tools/tools.go + cd tools && go generate -tags tools ./tools.go # N.B. each line runs in a different subshell, so we don't need to undo the 'cd' here cd tools && go mod tidy && go install \ github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \