15 lines
1.3 KiB
Batchfile
15 lines
1.3 KiB
Batchfile
@setlocal
|
|
|
|
@REM set HOME=%HOMEDRIVE%\%HOMEPATH%
|
|
@REM set REPO=%HOME
|
|
@REM for /f "usebackq tokens=*" %%a in (`echo Test`) do my_command %%a
|
|
set TOOLS_DIR=%~dp0
|
|
set REPO_DIR=%~dp0..\
|
|
set BUILD_SPARK_PY=%TOOLS_DIR%\py\build_spark.py
|
|
set PROTOC=%REPO_DIR%externals\windows\bin\protoc.exe
|
|
@REM c:\Users\John\Documents\repos\bts\spark\externals\windows\bin\protoc.exe C:\Users\John\Documents\repos\bts\spark\src\lib\config\protos\data_stream_config.proto --error_format=msvs --proto_path
|
|
@REM =c:\Users\John\Documents\repos\bts\spark\src --plugin="protoc-gen-spark-csharp=c:\Users\John\Documents\repos\bts\spark\src\lib\api\service_compiler\plugin.cmd" --spark-csharp_out=lang=c#,templates=immutable.pb.cs,strip_out_path=1:c:\Users\John\Documents\repos\bts\spark\build\Debug\obj\DataStrea
|
|
@REM mCore/lib/config/protos --csharp_out=c:\Users\John\Documents\repos\bts\spark\build\Debug\obj\DataStreamCore/lib/config/protos"
|
|
|
|
%PROTOC% %REPO_DIR%src\lib\config\protos\data_stream_config.proto --error_format=msvs --proto_path=%REPO_DIR%src --plugin="protoc-gen-spark-csharp=%REPO_DIR%src\lib\api\service_compiler\plugin.cmd" --spark-csharp_out=lang=c#,templates=immutable.pb.cs,strip_out_path=1:%REPO_DIR%build\Debug\obj\DataStreamCore\lib\config\protos --csharp_out=%REPO_DIR%build\Debug\obj\DataStreamCore\lib\config\protos
|