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:
parent
a22daeeec9
commit
f32de5ce0c
8 changed files with 42 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue