msix: build.ps1: place builds into ReleasesUap folder - todo: make folder relative to project root

This commit is contained in:
Nick Vella 2019-09-25 22:51:07 +10:00
parent 5ec613c5bd
commit eda28a9fa8
1 changed files with 2 additions and 1 deletions

View File

@ -104,6 +104,7 @@ if (-Not (Test-Path env:OLW_CONFIG))
=======================================================
"@
Get-Date
$buildCommand = "`"$msBuildExe`" $solutionFile /nologo /maxcpucount /verbosity:minimal /p:Configuration=$env:OLW_CONFIG /p:AppxPackageDir=Packages /p:UapAppxPackageBuildMode=StoreUpload /p:AppxBundlePlatforms=x86 /p:AppxBundle=Always $ARGS"
New-Item -ItemType Directory -Force -Path ReleasesUap
$buildCommand = "`"$msBuildExe`" $solutionFile /nologo /maxcpucount /verbosity:minimal /p:Configuration=$env:OLW_CONFIG /p:AppxPackageDir=ReleasesUap /p:UapAppxPackageBuildMode=StoreUpload /p:AppxBundlePlatforms=x86 /p:AppxBundle=Always $ARGS"
"Running build command '$buildCommand'"
Invoke-Expression "& $buildCommand"