diff options
author | dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> | 2019-02-15 08:10:14 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-02-15 08:10:14 -0800 |
commit | dc44198275de82ee0ec46f4a3811a9db235ec5e5 (patch) | |
tree | 732c6b57bb477af805d29470e8e78b17944f604c /eng/common | |
parent | 6adc4c0b726ca1a77084e8a215e743d037ac5515 (diff) | |
download | coreclr-dc44198275de82ee0ec46f4a3811a9db235ec5e5.tar.gz coreclr-dc44198275de82ee0ec46f4a3811a9db235ec5e5.tar.bz2 coreclr-dc44198275de82ee0ec46f4a3811a9db235ec5e5.zip |
Update dependencies from https://github.com/dotnet/arcade build 20190214.4 (#22621)
This change updates the following dependencies
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19114.4
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19114.4
Diffstat (limited to 'eng/common')
-rw-r--r-- | eng/common/tools.ps1 | 8 | ||||
-rw-r--r-- | eng/common/tools.sh | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index d1ed296dd6..fbcc4e3ba0 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -417,15 +417,15 @@ function InitializeToolset() { $proj = Join-Path $ToolsetDir "restore.proj" $bl = if ($binaryLog) { "/bl:" + (Join-Path $LogDir "ToolsetRestore.binlog") } else { "" } - + '<Project Sdk="Microsoft.DotNet.Arcade.Sdk"/>' | Set-Content $proj - MSBuild $proj $bl /t:__WriteToolsetLocation /noconsolelogger /p:__ToolsetLocationOutputFile=$toolsetLocationFile - + MSBuild $proj $bl /t:__WriteToolsetLocation /clp:ErrorsOnly`;NoSummary /p:__ToolsetLocationOutputFile=$toolsetLocationFile + $path = Get-Content $toolsetLocationFile -TotalCount 1 if (!(Test-Path $path)) { throw "Invalid toolset path: $path" } - + return $global:_ToolsetBuildProj = $path } diff --git a/eng/common/tools.sh b/eng/common/tools.sh index 115a56a827..633a8167b0 100644 --- a/eng/common/tools.sh +++ b/eng/common/tools.sh @@ -238,11 +238,15 @@ function InitializeToolset { ExitWithExitCode 2 fi - local toolset_restore_log="$log_dir/ToolsetRestore.binlog" local proj="$toolset_dir/restore.proj" + local bl="" + if [[ "$binary_log" == true ]]; then + bl="/bl:$log_dir/ToolsetRestore.binlog" + fi + echo '<Project Sdk="Microsoft.DotNet.Arcade.Sdk"/>' > "$proj" - MSBuild "$proj" /t:__WriteToolsetLocation /noconsolelogger /bl:"$toolset_restore_log" /p:__ToolsetLocationOutputFile="$toolset_location_file" + MSBuild "$proj" $bl /t:__WriteToolsetLocation /clp:ErrorsOnly\;NoSummary /p:__ToolsetLocationOutputFile="$toolset_location_file" local toolset_build_proj=`cat "$toolset_location_file"` |