优化结构
This commit is contained in:
@@ -6,12 +6,6 @@ VERSION=$(shell git describe --tags --always)
|
||||
# init env
|
||||
init:
|
||||
go install github.com/google/wire/cmd/wire@latest
|
||||
go install github.com/bufbuild/buf/cmd/buf@latest
|
||||
|
||||
.PHONY: api
|
||||
# generate api proto
|
||||
api:
|
||||
buf generate --template buf.gen.yaml
|
||||
|
||||
.PHONY: build
|
||||
# build
|
||||
@@ -27,7 +21,6 @@ generate:
|
||||
.PHONY: all
|
||||
# generate all
|
||||
all:
|
||||
make api
|
||||
make generate
|
||||
|
||||
# show help
|
||||
|
||||
Reference in New Issue
Block a user