mirror of
https://github.com/google/pebble.git
synced 2025-03-15 16:51:21 +00:00
10 lines
302 B
Batchfile
10 lines
302 B
Batchfile
|
@echo off
|
||
|
:: This file acts as a drop-in replacement of binary protoc.exe.
|
||
|
:: It will use either Python-based protoc from grpcio-tools package,
|
||
|
:: or if it is not available, protoc.exe from path if found.
|
||
|
|
||
|
setLocal enableDelayedExpansion
|
||
|
set mydir=%~dp0
|
||
|
python "%mydir%\protoc" %*
|
||
|
exit /b %ERRORLEVEL%
|