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