diff options
author | Viktor Hofer <viktor.hofer@microsoft.com> | 2020-02-17 10:41:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 10:41:46 +0300 |
commit | f4c2e17f1d429a272a3d06e0be91b87a61ca1b58 (patch) | |
tree | 9a9ccb96bc4d891cd23648126ba5e7b480f3f77e /eng/build.ps1 | |
parent | abcdc042d2c3ebbafc2a6d91f273c3c36ff87f11 (diff) |
Update Build Script Help Content (#2046)
* Update Build Script Help Content
Add the new runtime/library configuration arguments.
* PR feedback
Diffstat (limited to 'eng/build.ps1')
-rw-r--r-- | eng/build.ps1 | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/eng/build.ps1 b/eng/build.ps1 index 81c417a34e7..cf9297f8339 100644 --- a/eng/build.ps1 +++ b/eng/build.ps1 @@ -14,21 +14,24 @@ Param( [string]$arch, [string]$subsetCategory, [string]$subset, - [string]$runtimeConfiguration, - [string]$librariesConfiguration, + [ValidateSet("Debug","Release","Checked")][string]$runtimeConfiguration, + [ValidateSet("Debug","Release")][string]$librariesConfiguration, [Parameter(ValueFromRemainingArguments=$true)][String[]]$properties ) function Get-Help() { Write-Host "Common settings:" - Write-Host " -subset Build a subset, print available subsets with -subset help" - Write-Host " -subsetCategory Build a subsetCategory, print available subsetCategories with -subset help" - Write-Host " -os Build operating system: Windows_NT or Unix" - Write-Host " -arch Build platform: x86, x64, arm or arm64" - Write-Host " -configuration <value> Build configuration: Debug or Release (short: -c)" - 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 (short: -h)" + Write-Host " -subset Build a subset, print available subsets with -subset help" + Write-Host " -subsetCategory Build a subsetCategory, print available subsetCategories with -subset help" + Write-Host " -vs Open the solution with VS for Test Explorer support. Path or solution name (ie -vs Microsoft.CSharp)" + Write-Host " -os Build operating system: Windows_NT or Unix" + Write-Host " -arch Build platform: x86, x64, arm or arm64" + Write-Host " -configuration Build configuration: Debug, Release or [CoreCLR]Checked (short: -c)" + Write-Host " -runtimeConfiguration Runtime build configuration: Debug, Release or [CoreCLR]Checked" + Write-Host " -librariesConfiguration Libraries build configuration: Debug or Release" + Write-Host " -verbosity 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 (short: -h)" Write-Host "" Write-Host "Actions (defaults to -restore -build):" @@ -44,7 +47,6 @@ function Get-Help() { Write-Host "" Write-Host "Libraries settings:" - Write-Host " -vs Open the solution with VS for Test Explorer support. Path or solution name (ie -vs Microsoft.CSharp)" Write-Host " -framework Build framework: netcoreapp5.0 or net472 (short: -f)" Write-Host " -coverage Collect code coverage when testing" Write-Host " -testscope Scope tests, allowed values: innerloop, outerloop, all" |