fix/makefile #9
			
				
			
		
		
		
	
							
								
								
									
										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=.
 | 
			
		||||
	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"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue