aboutsummaryrefslogtreecommitdiff
path: root/appveyor.cmd
blob: 9335ca5ac24cbe319ca214d384f18761f9d04cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@setlocal
@pushd %~dp0
@set _P=%~dp0build\Release\publish

nuget restore

dotnet test -c Release src\test\WixToolsetTest.BuildTasks
dotnet test -c Release src\test\WixToolsetTest.WixCop

dotnet publish -c Release -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix
dotnet publish -c Release -o %_P%\WixToolset.MSBuild\net461\ -f net461 src\WixToolset.BuildTasks
dotnet publish -c Release -o %_P%\WixToolset.MSBuild\net472\ -f net472 src\WixToolset.BuildTasks
dotnet publish -c Release -o %_P%\WixToolset.MSBuild\netstandard2.0\ -f netstandard2.0 src\WixToolset.BuildTasks

@rem dotnet publish -c Release -o %_P%\netcoreapp2.1 -r win-x86 src\wix
@rem dotnet publish -c Release -o %_P%\net461 -r win-x86 src\light
@rem dotnet publish -c Release -o %_P%\net461 -r win-x86 src\WixToolset.BuildTasks

dotnet pack -c Release src\dotnet-wix
dotnet pack -c Release src\WixToolset.MSBuild

msbuild -p:Configuration=Release .\src\ThmViewerPackage\ThmViewerPackage.wixproj

@popd
@endlocal