From c830647d0fad2592f1dce5a5b2c43d0e6c025c12 Mon Sep 17 00:00:00 2001 From: Simon Hung Date: Mon, 28 Oct 2024 16:43:16 +0800 Subject: [PATCH 1/2] fix: makefile copy config --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 785dc15..6c8b6b8 100644 --- a/Makefile +++ b/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" -- 2.40.1 From 89cc69154f5e504af6c9de6c84fd9000ba95d7d1 Mon Sep 17 00:00:00 2001 From: Simon Hung Date: Tue, 29 Oct 2024 17:01:21 +0800 Subject: [PATCH 2/2] fix: filename --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6c8b6b8..ef90cc8 100644 --- a/Makefile +++ b/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=. - cp ./etc/service.example.yaml ./etc/notification.yaml + cp ./etc/notification.yaml ./etc/notification.example.yaml go mod tidy @echo "Generate core-api files successfully" -- 2.40.1