@joebigelow / wix-1 / commits / c5458b78

Improve build batch file

Rob Mensching committed Jun 27, 2020 at 13:20 UTC c5458b789cda75af4f1782468b80162f9b24276b
2 files changed +8 -6
appveyor.cmd
+7 -6
@@ -1,16 +1,17 @@
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 -p:Platform=Win32 src\ca\complusca.vcxproj
9 -msbuild -p:Configuration=Release -p:Platform=x64 src\ca\complusca.vcxproj
8 +msbuild -p:Configuration=Release -p:Platform=Win32 src\ca\complusca.vcxproj || exit /b
9 +msbuild -p:Configuration=Release -p:Platform=x64 src\ca\complusca.vcxproj || exit /b
10
11 -msbuild -p:Configuration=Release src\test\WixToolsetTest.ComPlus\WixToolsetTest.ComPlus.csproj
11 +msbuild -p:Configuration=Release src\test\WixToolsetTest.ComPlus\WixToolsetTest.ComPlus.csproj || exit /b
12 +dotnet test -c Release --no-build src\test\WixToolsetTest.ComPlus || exit /b
13
13 -msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.ComPlus.wixext.csproj
14 +msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.ComPlus.wixext.csproj || exit /b
15
16 @popd
17 @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" />