File tree 1 file changed +15
-5
lines changed
ignite/templates/app/files
1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -63,16 +63,26 @@ install:
63
63
### Protobuf ###
64
64
##################
65
65
66
- # Use this proto-image if you do not want to use Ignite for generating proto files
67
- protoVer=0.15.1
68
- protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
69
- protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)
66
+ # Use this target if you do not want to use Ignite for generating proto files
67
+ GOLANG_PROTOBUF_VERSION=1.28.1
68
+ GRPC_GATEWAY_VERSION=1.16.0
69
+ GRPC_GATEWAY_PROTOC_GEN_OPENAPIV2_VERSION=2.20.0
70
+
71
+ proto-deps:
72
+ @echo "Installing proto deps"
73
+ @go install github.com/bufbuild/buf/cmd/
[email protected]
74
+ @go install github.com/cosmos/gogoproto/protoc-gen-gogo@latest
75
+ @go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest
76
+ @go install google.golang.org/protobuf/cmd/protoc-gen-go@v$(GOLANG_PROTOBUF_VERSION)
77
+ @go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v$(GRPC_GATEWAY_VERSION)
78
+ @go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v$(GRPC_GATEWAY_PROTOC_GEN_OPENAPIV2_VERSION)
79
+ @go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
70
80
71
81
proto-gen:
72
82
@echo "Generating protobuf files..."
73
83
@ignite generate proto-go --yes
74
84
75
- .PHONY: proto-gen
85
+ .PHONY: proto-deps proto- gen
76
86
77
87
#################
78
88
### Linting ###
You can’t perform that action at this time.
0 commit comments