From 6da830066899f2d95d8aa6e091bb30ffbf384cc8 Mon Sep 17 00:00:00 2001 From: huyufei Date: Tue, 5 Sep 2023 14:46:03 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=B7=BB=E5=8A=A0=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E7=9A=84makefile=20=20-=20for=20mac?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..eb0637d --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +Version=0.0.1 +Branch=main + + +#------------- 命令部分 ---------------- +# make publish +# 发布upm版本, 版本号和分支需要提前配置 +publish: + git switch ${Branch} + git tag ${Version} + git push --tags + +# make build +# 更新proto结构, 生成对应的cs类, 需要先安装proto工具并建立系统路径 +build: + cd ./Runtime/ServerProto + protogen messages.proto --csharp_out=../NetworkGen \ No newline at end of file