aboutsummaryrefslogtreecommitdiff
path: root/src/burn/burn.cmd
blob: b7c171c5728d27636b3d674dc0ae126f2128ef8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@setlocal
@pushd %~dp0

@set _C=Debug
:parse_args
@if /i "%1"=="release" set _C=Release
@if not "%1"=="" shift & goto parse_args

@echo Building burn %_C%

:: burn

nuget restore || exit /b

msbuild burn_t.proj -p:Configuration=%_C% -nologo -m -warnaserror -bl:..\..\build\logs\burn_build.binlog || exit /b

msbuild test\BurnUnitTest -t:Test -p:Configuration=%_C% -nologo || exit /b

@popd
@endlocal