17 lines
		
	
	
		
			401 B
		
	
	
	
		
			Makefile
		
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			401 B
		
	
	
	
		
			Makefile
		
	
	
|   | 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 |