diff options
Diffstat (limited to 'src/ext/NetFx/netfx.cmd')
-rw-r--r-- | src/ext/NetFx/netfx.cmd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ext/NetFx/netfx.cmd b/src/ext/NetFx/netfx.cmd index 182630b3..65cd1dcb 100644 --- a/src/ext/NetFx/netfx.cmd +++ b/src/ext/NetFx/netfx.cmd | |||
@@ -2,14 +2,19 @@ | |||
2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
3 | 3 | ||
4 | @set _C=Debug | 4 | @set _C=Debug |
5 | @set _L=%~dp0..\..\..\build\logs | ||
5 | :parse_args | 6 | :parse_args |
6 | @if /i "%1"=="release" set _C=Release | 7 | @if /i "%1"=="release" set _C=Release |
7 | @if not "%1"=="" shift & goto parse_args | 8 | @if not "%1"=="" shift & goto parse_args |
8 | 9 | ||
9 | @echo NetFx.wixext build %_C% | 10 | @echo NetFx.wixext build %_C% |
10 | 11 | ||
12 | :: Restore | ||
13 | nuget restore netcoresearch\packages.config || exit /b | ||
14 | msbuild -t:Restore -p:Configuration=%_C% || exit /b | ||
15 | |||
11 | :: Build | 16 | :: Build |
12 | msbuild -Restore -p:Configuration=%_C% || exit /b | 17 | msbuild -p:Configuration=%_C% -bl:%_L%\netfx_build.binlog || exit /b |
13 | 18 | ||
14 | :: Test | 19 | :: Test |
15 | dotnet test -c %_C% --no-build test\WixToolsetTest.Netfx || exit /b | 20 | dotnet test -c %_C% --no-build test\WixToolsetTest.Netfx || exit /b |