删除public子模块
This commit is contained in:
parent
2f74e5bfab
commit
b4bab0de1e
|
@ -1,3 +0,0 @@
|
||||||
[submodule "public"]
|
|
||||||
path = public
|
|
||||||
url = git@git.pogorockgames.com:mango-games/server/public.git
|
|
21
README.md
21
README.md
|
@ -2,27 +2,6 @@
|
||||||
|
|
||||||
游戏业务代码
|
游戏业务代码
|
||||||
|
|
||||||
### 子仓库
|
|
||||||
public子仓库本项目本身并没有使用,只是用来暴露部分公共代码,供其他项目使用。
|
|
||||||
例如:
|
|
||||||
1.客户端同步通信协议
|
|
||||||
2.客户端同步游戏配置
|
|
||||||
|
|
||||||
#### 初始化子仓库
|
|
||||||
```
|
|
||||||
git submodule update --init --recursive
|
|
||||||
```
|
|
||||||
|
|
||||||
#### 更新子仓库
|
|
||||||
```
|
|
||||||
git submodule update --remote
|
|
||||||
```
|
|
||||||
|
|
||||||
#### 更新并提交子仓库代码
|
|
||||||
```
|
|
||||||
update_public.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
### 脚本
|
### 脚本
|
||||||
#### gen_data.bat
|
#### gen_data.bat
|
||||||
xlsx文件转换为json,dat文件,生成pbdata.proto,生成srvdata包
|
xlsx文件转换为json,dat文件,生成pbdata.proto,生成srvdata包
|
||||||
|
|
1
public
1
public
|
@ -1 +0,0 @@
|
||||||
Subproject commit 00b9fce886af5b6a926aa804d3cad33be9ea0793
|
|
|
@ -1,11 +1,11 @@
|
||||||
if exist ".\public" (
|
if exist "..\public" (
|
||||||
cd .\public
|
cd ..\public
|
||||||
git checkout main
|
git checkout main
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
xcopy ..\data .\data /s /e /y
|
xcopy ..\game\data .\data /s /e /y
|
||||||
xcopy ..\protocol .\protocol /s /e /y
|
xcopy ..\game\protocol .\protocol /s /e /y
|
||||||
xcopy ..\xlsx .\xlsx /s /e /y
|
xcopy ..\game\xlsx .\xlsx /s /e /y
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git commit -m "update"
|
git commit -m "update"
|
||||||
|
|
Loading…
Reference in New Issue