delete gen_web.bat
This commit is contained in:
parent
b0315b0e70
commit
c8cf242a09
|
@ -29,9 +29,6 @@ update_public.sh
|
|||
|
||||
#### gen_go.bat
|
||||
proto文件生成go文件
|
||||
|
||||
#### gen_web.bat
|
||||
proto文件生成go文件
|
||||
|
||||
#### build.bat
|
||||
生成可执行文件
|
||||
|
|
21
gen_web.bat
21
gen_web.bat
|
@ -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
|
Loading…
Reference in New Issue