-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
42 lines (25 loc) · 740 Bytes
/
build.bat
File metadata and controls
42 lines (25 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@echo off
REM # Version of used CI.MSBuild
set cimdll=packages\vsSBE.CI.MSBuild\bin\CI.MSBuild.dll
set _msbuild=tools\hMSBuild -notamd64
REM # Verbosity level by default: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
set level=minimal
set _gnt=tools\gnt
:::: --------
set reltype=%~1
if "%reltype%"=="" (
set "reltype=DCI"
)
:::: --------
set __p_call=1
:: Activate vsSBE
call %_gnt% /p:ngpath="%cd%/packages" /p:ngconfig="%cd%/.gnt/packages.config" || goto err
:: Build
set bnode=%_msbuild% SobaScript.Z.Core.sln /m:4 /l:"%cimdll%" /p:Platform="Any CPU" /v:%level% /nologo
call %bnode% /p:Configuration=%reltype%_SDK15 /t:Rebuild || goto err
goto ok
:err
echo. Build failed. 1>&2
exit /B 1
:ok
exit /B 0