You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
300 B

set name=%~n1
set output_path_csharp=%name%\csharp
set plugin_path_csharp=grpc_csharp_plugin.exe
md %name%
md %output_path_csharp%
protoc.exe --proto_path=.\^
--plugin=protoc-gen-grpc=%plugin_path_csharp%^
--grpc_out=%output_path_csharp%^
--csharp_out=%output_path_csharp%^
%name%.proto
pause