From 20272e83270fd6257a0474625bbc0e1a42f8f034 Mon Sep 17 00:00:00 2001 From: Eoous <38656355+Eoous@users.noreply.github.com> Date: Sat, 27 Jul 2024 04:32:45 +0800 Subject: [PATCH] chore: use flag instead of command --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index baaf09459..52413e3fa 100644 --- a/Makefile +++ b/Makefile @@ -155,10 +155,9 @@ endif proto-gen: check-proto-deps @echo "Generating Protobuf files" - @go run github.com/bufbuild/buf/cmd/buf@$(BUF_VERSION) generate + @go run github.com/bufbuild/buf/cmd/buf@$(BUF_VERSION) generate --exclude-path proto/nmt @mv ./proto/tendermint/abci/types.pb.go ./abci/types/ @cp ./proto/tendermint/rpc/grpc/types.pb.go ./rpc/grpc - @rm ./proto/nmt/proof.pb.go .PHONY: proto-gen # These targets are provided for convenience and are intended for local