summaryrefslogtreecommitdiff
path: root/eng/common/build.ps1
diff options
context:
space:
mode:
authordotnet-maestro <@dotnet-maestro>2019-03-01 13:26:21 +0000
committerdotnet-maestro <@dotnet-maestro>2019-03-01 13:26:21 +0000
commit14beb31b53531c7ab362b7fd4f4d99c1bfea388c (patch)
tree1fa226421c5beb550ad468a51c58b3cdc1eed7e2 /eng/common/build.ps1
parent7a77e22c68310ff1b57a74f5e44ddf249c82971a (diff)
downloadcoreclr-14beb31b53531c7ab362b7fd4f4d99c1bfea388c.tar.gz
coreclr-14beb31b53531c7ab362b7fd4f4d99c1bfea388c.tar.bz2
coreclr-14beb31b53531c7ab362b7fd4f4d99c1bfea388c.zip
Update dependencies from https://github.com/dotnet/arcade build 20190228.3
This change updates the following dependencies - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19128.3 - Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19128.3
Diffstat (limited to 'eng/common/build.ps1')
-rw-r--r--eng/common/build.ps112
1 files changed, 7 insertions, 5 deletions
diff --git a/eng/common/build.ps1 b/eng/common/build.ps1
index 316061382b..d0147db4bd 100644
--- a/eng/common/build.ps1
+++ b/eng/common/build.ps1
@@ -11,7 +11,7 @@ Param(
[switch][Alias('b')]$build,
[switch] $rebuild,
[switch] $deploy,
- [switch] $test,
+ [switch][Alias('t')]$test,
[switch] $integrationTest,
[switch] $performanceTest,
[switch] $sign,
@@ -40,10 +40,10 @@ function Print-Usage() {
Write-Host " -rebuild Rebuild solution"
Write-Host " -deploy Deploy built VSIXes"
Write-Host " -deployDeps Deploy dependencies (e.g. VSIXes for integration tests)"
- Write-Host " -test Run all unit tests in the solution"
- Write-Host " -pack Package build outputs into NuGet packages and Willow components"
+ Write-Host " -test Run all unit tests in the solution (short: -t)"
Write-Host " -integrationTest Run all integration tests in the solution"
Write-Host " -performanceTest Run all performance tests in the solution"
+ Write-Host " -pack Package build outputs into NuGet packages and Willow components"
Write-Host " -sign Sign build outputs"
Write-Host " -publish Publish artifacts (e.g. symbols)"
Write-Host ""
@@ -51,9 +51,11 @@ function Print-Usage() {
Write-Host "Advanced settings:"
Write-Host " -projects <value> Semi-colon delimited list of sln/proj's to build. Globbing is supported (*.sln)"
Write-Host " -ci Set when running on CI server"
- Write-Host " -prepareMachine Prepare machine for CI run"
+ Write-Host " -prepareMachine Prepare machine for CI run, clean up processes after build"
+ Write-Host " -warnAsError <value> Sets warnaserror msbuild parameter ('true' or 'false')"
Write-Host " -msbuildEngine <value> Msbuild engine to use to run build ('dotnet', 'vs', or unspecified)."
Write-Host ""
+
Write-Host "Command line arguments not listed above are passed thru to msbuild."
Write-Host "The above arguments can be shortened as much as to be unambiguous (e.g. -co for configuration, -t for test, etc.)."
}
@@ -103,7 +105,7 @@ function Build {
}
try {
- if ($help -or (($properties -ne $null) -and ($properties.Contains("/help") -or $properties.Contains("/?")))) {
+ if ($help -or (($null -ne $properties) -and ($properties.Contains("/help") -or $properties.Contains("/?")))) {
Print-Usage
exit 0
}