fix: makefile copy config

This commit is contained in:
Simon Hung 2024-10-28 16:43:16 +08:00
parent b3cfd0afaa
commit c830647d0f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ fmt: # 格式優化
.PHONY: gen-rpc .PHONY: gen-rpc
gen-rpc: # 建立 rpc code 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=. $(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 go mod tidy
@echo "Generate core-api files successfully" @echo "Generate core-api files successfully"