Created
September 25, 2017 10:29
-
-
Save z-lite/55fba56f069d344bd38fd6565b1c9973 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set "pwd=%cd%" | |
cd ../../.. | |
SETLOCAL enabledelayedexpansion | |
for /r %pwd% %%i in (*.proto) do ( | |
set "str=%%i" | |
set "str2=!str:%cd%\=!" | |
echo !str2! | |
protoc.exe -I. --go_out=plugins=micro:. !str2! | |
) | |
endlocal | |
cd %pwd% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment