Files
public/Proto/ServerClient/gen_proto.bat

12 lines
249 B
Batchfile

@echo off
if not exist "./gen" (
mkdir "./gen"
)
protoc --proto_path=./sources --go_out=./gen ./sources/*.proto
if not exist "./gen/client" (
mkdir "./gen/client"
)
protoc --proto_path=./sources --csharp_out=./gen/client ./sources/*.proto