From 0412dd5a3b3c53026cb6996ec4e9dd84e548678c Mon Sep 17 00:00:00 2001
From: dotnet-maestro <@dotnet-maestro>
Date: Fri, 1 Mar 2019 13:11:16 +0000
Subject: [PATCH] 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
---
eng/Version.Details.xml | 4 +--
eng/common/build.ps1 | 12 ++++----
eng/common/build.sh | 66 ++++++++++++++++++++++-------------------
global.json | 2 +-
4 files changed, 46 insertions(+), 38 deletions(-)
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 2ca3a62f6..91a866d9e 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -60,9 +60,9 @@
-
+
https://github.com/dotnet/arcade
- f393a6b6b2df0854e051f314977137d31855b6c8
+ 6c034531b2af9e6b2f76c86d471fd308a400269e
diff --git a/eng/common/build.ps1 b/eng/common/build.ps1
index 316061382..d0147db4b 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 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 Sets warnaserror msbuild parameter ('true' or 'false')"
Write-Host " -msbuildEngine 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
}
diff --git a/eng/common/build.sh b/eng/common/build.sh
index 43b7ccb5c..0227c6e1e 100755
--- a/eng/common/build.sh
+++ b/eng/common/build.sh
@@ -13,17 +13,21 @@ usage()
echo " --configuration Build configuration: 'Debug' or 'Release' (short: -c)"
echo " --verbosity Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] (short: -v)"
echo " --binaryLog Create MSBuild binary log (short: -bl)"
- echo ""
- echo "Actions:"
- echo " --restore Restore dependencies (short: -r)"
- echo " --build Build all projects (short: -b)"
- echo " --rebuild Rebuild all projects"
- echo " --test Run all unit tests (short: -t)"
- echo " --sign Sign build outputs"
- echo " --publish Publish artifacts (e.g. symbols)"
- echo " --pack Package build outputs into NuGet packages and Willow components"
echo " --help Print help and exit (short: -h)"
echo ""
+
+ echo "Actions:"
+ echo " --restore Restore dependencies (short: -r)"
+ echo " --build Build solution (short: -b)"
+ echo " --rebuild Rebuild solution"
+ echo " --test Run all unit tests in the solution (short: -t)"
+ echo " --integrationTest Run all integration tests in the solution"
+ echo " --performanceTest Run all performance tests in the solution"
+ echo " --pack Package build outputs into NuGet packages and Willow components"
+ echo " --sign Sign build outputs"
+ echo " --publish Publish artifacts (e.g. symbols)"
+ echo ""
+
echo "Advanced settings:"
echo " --projects Project or solution file(s) to build"
echo " --ci Set when running on CI server"
@@ -32,6 +36,7 @@ usage()
echo " --warnAsError Sets warnaserror msbuild parameter ('true' or 'false')"
echo ""
echo "Command line arguments starting with '/p:' are passed through to MSBuild."
+ echo "Arguments can also be passed in with a single hyphen."
}
source="${BASH_SOURCE[0]}"
@@ -50,10 +55,10 @@ restore=false
build=false
rebuild=false
test=false
-pack=false
-publish=false
integration_test=false
performance_test=false
+pack=false
+publish=false
sign=false
public=false
ci=false
@@ -66,68 +71,69 @@ projects=''
configuration='Debug'
prepare_machine=false
verbosity='minimal'
+
properties=''
while [[ $# > 0 ]]; do
- opt="$(echo "$1" | awk '{print tolower($0)}')"
+ opt="$(echo "${1/#--/-}" | awk '{print tolower($0)}')"
case "$opt" in
- --help|-h)
+ -help|-h)
usage
exit 0
;;
- --configuration|-c)
+ -configuration|-c)
configuration=$2
shift
;;
- --verbosity|-v)
+ -verbosity|-v)
verbosity=$2
shift
;;
- --binarylog|-bl)
+ -binarylog|-bl)
binary_log=true
;;
- --restore|-r)
+ -restore|-r)
restore=true
;;
- --build|-b)
+ -build|-b)
build=true
;;
- --rebuild)
+ -rebuild)
rebuild=true
;;
- --pack)
+ -pack)
pack=true
;;
- --test|-t)
+ -test|-t)
test=true
;;
- --integrationtest)
+ -integrationtest)
integration_test=true
;;
- --performancetest)
+ -performancetest)
performance_test=true
;;
- --sign)
+ -sign)
sign=true
;;
- --publish)
+ -publish)
publish=true
;;
- --preparemachine)
+ -preparemachine)
prepare_machine=true
;;
- --projects)
+ -projects)
projects=$2
shift
;;
- --ci)
+ -ci)
ci=true
;;
- --warnaserror)
+ -warnaserror)
warn_as_error=$2
shift
;;
- --nodereuse)
+ -nodereuse)
node_reuse=$2
shift
;;
diff --git a/global.json b/global.json
index cca6469ab..3385d476f 100644
--- a/global.json
+++ b/global.json
@@ -3,6 +3,6 @@
"dotnet": "3.0.100-preview-009812"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19127.8"
+ "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19128.3"
}
}