init
This commit is contained in:
parent
c5c5879d59
commit
91e798c0c5
BIN
data/DB_Task.dat
BIN
data/DB_Task.dat
Binary file not shown.
|
@ -1,12 +1,10 @@
|
|||
@echo off
|
||||
set work_path="D:\trunk\src\games.yol.com\win88"
|
||||
set work_path=%cd%
|
||||
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"
|
||||
|
||||
cd %work_path%/tools/xlsx2proto
|
||||
if not exist xlsx2proto.exe (
|
||||
go build
|
||||
)
|
||||
go build
|
||||
xlsx2proto.exe
|
||||
|
||||
cd ../../protocol/server
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
copy
|
||||
@echo off
|
||||
set work_path=%cd%
|
||||
set proto_path=%work_path%\protocol
|
||||
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"
|
||||
|
||||
echo %protoc3%
|
||||
cd %proto_path%
|
||||
for /d %%s in (,*) do (
|
||||
rem if %%s NEQ webapi (
|
||||
cd %%s
|
||||
for %%b in (,*.proto) do (
|
||||
echo %%b
|
||||
%protoc% --plugin=protoc-gen-go=%protoc-gen-go-plugin-path% --go_out=. %%b
|
||||
)
|
||||
cd ..
|
||||
rem )
|
||||
)
|
||||
pause
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
@echo off
|
||||
cd tools/proto2js
|
||||
go fmt
|
||||
go build
|
||||
proto2js.exe
|
||||
pause
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue