diff options
author | dotnet-maestro <@dotnet-maestro> | 2019-05-18 16:05:43 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-05-19 08:18:21 +0300 |
commit | d667baf94bcdee71ff570bb5aa5035762eb14de3 (patch) | |
tree | 1a40e42432849ca28ae6c5e7e3bca7afc0353621 /eng/common/build.ps1 | |
parent | 616e06225a462e6749901f70a76ad4a3a845c009 (diff) |
Update dependencies from https://github.com/dotnet/arcade build 20190517.7
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19267.7
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19267.7
Diffstat (limited to 'eng/common/build.ps1')
-rw-r--r-- | eng/common/build.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eng/common/build.ps1 b/eng/common/build.ps1 index d7e3799ebd9..67046a43f8c 100644 --- a/eng/common/build.ps1 +++ b/eng/common/build.ps1 @@ -1,6 +1,7 @@ [CmdletBinding(PositionalBinding=$false)] Param( [string][Alias('c')]$configuration = "Debug", + [string]$platform = $null, [string] $projects, [string][Alias('v')]$verbosity = "minimal", [string] $msbuildEngine = $null, @@ -29,6 +30,7 @@ Param( function Print-Usage() { Write-Host "Common settings:" Write-Host " -configuration <value> Build configuration: 'Debug' or 'Release' (short: -c)" + Write-Host " -platform <value> Platform configuration: 'x86', 'x64' or any valid Platform value to pass to msbuild" Write-Host " -verbosity <value> Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] (short: -v)" Write-Host " -binaryLog Output binary log (short: -bl)" Write-Host " -help Print help and exit" @@ -77,6 +79,7 @@ function Build { InitializeCustomToolset $bl = if ($binaryLog) { "/bl:" + (Join-Path $LogDir "Build.binlog") } else { "" } + $platformArg = if ($platform) { "/p:Platform=$platform" } else { "" } if ($projects) { # Re-assign properties to a new variable because PowerShell doesn't let us append properties directly for unclear reasons. @@ -88,6 +91,7 @@ function Build { MSBuild $toolsetBuildProj ` $bl ` + $platformArg ` /p:Configuration=$configuration ` /p:RepoRoot=$RepoRoot ` /p:Restore=$restore ` |