makefile & doc

This commit is contained in:
lu.bai
2022-11-24 15:25:16 +08:00
parent f7b5854734
commit 9d095d21ec
3 changed files with 27 additions and 0 deletions

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
CUR_DIR=$(shell pwd)
.PHONY: dev_tool
# 安装工具
dev_tool:
# install protoc
go install github.com/golang/protobuf/protoc-gen-go@v1.5.2
.PHONY: gen
# gen 生成代码
gen:
cd protocol/proto && make gen