Update dependencies from https://github.com/dotnet/arcade build 20190501.6 (#1827)

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19251.6
This commit is contained in:
dotnet-maestro[bot] 2019-05-02 12:26:55 +00:00 committed by GitHub
parent a22daeeec9
commit f32de5ce0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 42 additions and 12 deletions

View file

@ -391,6 +391,16 @@ function GetSdkTaskProject([string]$taskName) {
return Join-Path (Split-Path (InitializeToolset) -Parent) "SdkTasks\$taskName.proj"
}
function InitializeNativeTools() {
if (Get-Member -InputObject $GlobalJson -Name "native-tools") {
$nativeArgs=""
if ($ci) {
$nativeArgs = "-InstallDirectory $ToolsDir"
}
Invoke-Expression "& `"$PSScriptRoot/init-tools-native.ps1`" $nativeArgs"
}
}
function InitializeToolset() {
if (Test-Path variable:global:_ToolsetBuildProj) {
return $global:_ToolsetBuildProj