@joebigelow / wix-1 / commits / d02ccdc0

Improve build batch file

Rob Mensching committed Jun 27, 2020 at 12:51 UTC d02ccdc0bd962289d59d83497e19a31b974c9631
2 files changed +6 -4
appveyor.cmd
+5 -4
@@ -1,13 +1,14 @@
1 @setlocal
2 @pushd %~dp0
3
4 -nuget restore
4 +nuget restore || exit /b
5
6 -msbuild -p:Configuration=Release -t:Restore
6 +msbuild -p:Configuration=Release -t:Restore || exit /b
7
8 -msbuild -p:Configuration=Release src\test\WixToolsetTest.DirectX\WixToolsetTest.DirectX.csproj
8 +msbuild -p:Configuration=Release src\test\WixToolsetTest.DirectX\WixToolsetTest.DirectX.csproj || exit /b
9 +dotnet test -c Release --no-build src\test\WixToolsetTest.DirectX || exit /b
10
10 -msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.DirectX.wixext.csproj
11 +msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.DirectX.wixext.csproj || exit /b
12
13 @popd
14 @endlocal
\ No newline at end of file
nuget.config
+1
@@ -2,6 +2,7 @@
2 <configuration>
3 <packageSources>
4 <clear />
5 + <add key="wixtoolset-burn" value="https://ci.appveyor.com/nuget/wixtoolset-burn" />
6 <add key="wixtoolset-data" value="https://ci.appveyor.com/nuget/wixtoolset-data" />
7 <add key="wixtoolset-extensibility" value="https://ci.appveyor.com/nuget/wixtoolset-extensibility" />
8 <add key="wixtoolset-core" value="https://ci.appveyor.com/nuget/wixtoolset-core" />