Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>2019-10-24 22:06:46 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-10-24 22:06:46 +0300
commita7287bdae54c0539a74fdbe87eb73ba268a95ed6 (patch)
tree96bd64ba7fdf358526feebad2c9b8e52315603ae /eng/common/build.sh
parent25b53a642b4756332e5cdb932ed09521da3418df (diff)
[master] Update dependencies from dotnet/arcade dotnet/core-setup dotnet/corefx (#17458)
* Update dependencies from https://github.com/dotnet/arcade build 20191018.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19518.2 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19518.2 * Update dependencies from https://github.com/dotnet/core-setup build 20191021.2 - Microsoft.NETCore.App - 5.0.0-alpha1.19521.2 * Update dependencies from https://github.com/dotnet/corefx build 20191020.7 - Microsoft.Private.CoreFx.NETCoreApp - 5.0.0-alpha1.19520.7 * Update dependencies from https://github.com/dotnet/arcade build 20191023.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19523.3 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19523.3 * Update dependencies from https://github.com/dotnet/core-setup build 20191023.10 - Microsoft.NETCore.App - 5.0.0-alpha1.19523.10 * Update dependencies from https://github.com/dotnet/corefx build 20191023.8 - Microsoft.Private.CoreFx.NETCoreApp - 5.0.0-alpha1.19523.8 * Disable a file system watcher test on mac See https://github.com/mono/mono/issues/17547 * Reenable tests that were fixed
Diffstat (limited to 'eng/common/build.sh')
-rwxr-xr-xeng/common/build.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/eng/common/build.sh b/eng/common/build.sh
index cc6a2fadbb5..36f9aa0462e 100755
--- a/eng/common/build.sh
+++ b/eng/common/build.sh
@@ -26,6 +26,7 @@ usage()
echo " --pack Package build outputs into NuGet packages and Willow components"
echo " --sign Sign build outputs"
echo " --publish Publish artifacts (e.g. symbols)"
+ echo " --clean Clean the solution"
echo ""
echo "Advanced settings:"
@@ -62,6 +63,7 @@ publish=false
sign=false
public=false
ci=false
+clean=false
warn_as_error=true
node_reuse=true
@@ -82,6 +84,9 @@ while [[ $# > 0 ]]; do
usage
exit 0
;;
+ -clean)
+ clean=true
+ ;;
-configuration|-c)
configuration=$2
shift
@@ -196,7 +201,15 @@ function Build {
ExitWithExitCode 0
}
-if [[ "$restore" == true && -z ${DisableNativeToolsetInstalls:-} ]]; then
+if [[ "$clean" == true ]]; then
+ if [ -d "$artifacts_dir" ]; then
+ rm -rf $artifacts_dir
+ echo "Artifacts directory deleted."
+ fi
+ exit 0
+fi
+
+if [[ "$restore" == true ]]; then
InitializeNativeTools
fi