aboutsummaryrefslogtreecommitdiff
path: root/appveyor.cmd
blob: d0dcee837c5c0e9e39e3a429caf1a6351877fe24 (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
@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\netcoreapp2.1\ -f netcoreapp2.1 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