This commit is contained in:
sk 2024-04-15 15:14:46 +08:00
parent dd2f835869
commit b5deff2f3f
6 changed files with 0 additions and 6263 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +0,0 @@
cd $CCC_CLIENT_DIR/protocol/chesstitians
npx pbjs --dependency protobufjs/minimal.js --target static-module --wrap commonjs --out chesstitians.js ./*.proto
npx pbts --main --out ./chesstitians.d.ts ./chesstitians.js
cp ./chesstitians.d.ts ./chesstitians.js $CCC_CLIENT_DIR/vietnam/assets/Chesstitians/script/protocol

View File

@ -1,4 +0,0 @@
# 将chesstitians目录拷贝到client工程目录下的protocol文件夹
echo WIN88_DIR=$WIN88_DIR
echo CCC_CLIENT_DIR=$CCC_CLIENT_DIR
cp -R $WIN88_DIR/protocol/chesstitians $CCC_CLIENT_DIR/protocol

View File

@ -1,4 +0,0 @@
# 将chesstitians目录拷贝到client工程目录下的protocol文件夹
echo WIN88_DIR=$WIN88_DIR
echo CCC_CLIENT_DIR=$CCC_CLIENT_DIR
cp -R $CCC_CLIENT_DIR/protocol/chesstitians $WIN88_DIR/protocol

View File

@ -1,4 +0,0 @@
set work_path="C:\trunk\src\games.yol.com\win88"
set protoc=%work_path%\bin\protoc-3.19.4-win64\bin\protoc.exe
set protoc-gen-go-plugin-path="%work_path%\bin\protoc-gen-go.exe"
%protoc% --plugin=protoc-gen-go=%protoc-gen-go-plugin-path% --go_out=. chesstitians.proto

View File

@ -1,4 +0,0 @@
work_path="/Users/ethan/Proj/trunk/src/games.yol.com/win88"
protoc="${work_path}/bin/protoc-3.19.4-osx-x86_64/bin/protoc"
protoc_gen_go_plugin_path="${work_path}/bin/protoc-gen-go"
${protoc} --plugin=protoc-gen-go=${protoc_gen_go_plugin_path} --go_out=. chesstitians.proto