fix: makefile copy config
This commit is contained in:
parent
b3cfd0afaa
commit
c830647d0f
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ fmt: # 格式優化
|
|||
.PHONY: gen-rpc
|
||||
gen-rpc: # 建立 rpc code
|
||||
$(GO_CTL_NAME) rpc protoc ./generate/protobuf/notification.proto -m --style=$(GO_ZERO_STYLE) --go_out=./gen_result/pb --go-grpc_out=./gen_result/pb --zrpc_out=.
|
||||
copy ./etc/service.yaml ./etc/service.example.yaml
|
||||
cp ./etc/service.example.yaml ./etc/notification.yaml
|
||||
go mod tidy
|
||||
@echo "Generate core-api files successfully"
|
||||
|
||||
|
|
Loading…
Reference in New Issue