From 119180aa79d4163ac1ed37ee3caf4e7cd2c202e8 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Fri, 15 May 2020 08:15:35 -0400 Subject: [PATCH] update build.bat using the new submodule --- service/build.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/service/build.bat b/service/build.bat index 821c706b..ee097476 100644 --- a/service/build.bat +++ b/service/build.bat @@ -1,4 +1,9 @@ -SET TUNNELER_SDK_DIR=c:\git\github\ziti-tunneler-sdk-c +@echo Updating submodules... +git submodule update --init --recursive + +set SVC_ROOT_DIR=%~dp0 + +SET TUNNELER_SDK_DIR=%SVC_ROOT_DIR%deps\ziti-tunneler-sdk-c set CGO_CFLAGS=-DNOGDI -I %TUNNELER_SDK_DIR%\install\include set CGO_LDFLAGS=-L %TUNNELER_SDK_DIR%\install\lib