Skip to content

Commit

Permalink
Improve build batch file
Browse files Browse the repository at this point in the history
  • Loading branch information
robmen committed Jun 27, 2020
1 parent 31ee67d commit b9b3a69
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions appveyor.cmd
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
@setlocal
@pushd %~dp0

nuget restore
nuget restore || exit /b

msbuild -p:Configuration=Release -t:Restore
msbuild -p:Configuration=Release -t:Restore || exit /b

msbuild -p:Configuration=Release src\test\WixToolsetTest.Dependency\WixToolsetTest.Dependency.csproj
msbuild -p:Configuration=Release src\test\WixToolsetTest.Dependency\WixToolsetTest.Dependency.csproj || exit /b
dotnet test -c Release --no-build src\test\WixToolsetTest.Dependency || exit /b

msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.Dependency.wixext.csproj
msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.Dependency.wixext.csproj || exit /b

@popd
@endlocal

0 comments on commit b9b3a69

Please sign in to comment.