update: 添加基础的makefile - for mac
							parent
							
								
									af7b0ee207
								
							
						
					
					
						commit
						6da8300668
					
				|  | @ -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 | ||||
		Loading…
	
		Reference in New Issue
	
	 huyufei
						huyufei