update Makefile

r/paopao-ce-pro
Michael Li 2 years ago
parent 2a1e592933
commit 95947ae614
No known key found for this signature in database

@ -113,6 +113,10 @@ test:
pre-commit: fmt
@go mod tidy
.PHONY: install-plugins
install-plugins: install-protobuf-plugins install-sqlc-plugins
.PHONY: install-protobuf-plugins
install-protobuf-plugins:
@go install github.com/bufbuild/buf/cmd/buf@v1.11.0
@ -120,6 +124,9 @@ install-protobuf-plugins:
@go install github.com/bufbuild/buf/cmd/protoc-gen-buf-lint@v1.11.0
@go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
.PHONY: install-sqlc-plugins
install-sqlc-plugins:
@go install github.com/kyleconroy/sqlc/cmd/sqlc@latest
help:

Loading…
Cancel
Save