Closed Pikesh closed 6 years ago
This is because of difference in behavior in bash/cmd. Above works fine in bash. But for cmd something like should work:
for %i in (./Protocols/*.proto) do protoc -I ./Protos --lile-server_out=. --go_out=plugins=grpc:. ./Protos/%i
protoc -I ./Protocols --lile-server_out=. --go_out=plugins=grpc:. .Protos/*.proto ;\
This generates only one test stub for the first file under /Protos. Expected output is creating as many stubs as number of files under /Protos