chore: Adjust junction creation
This commit is contained in:
Родитель
d80cc8ef2c
Коммит
2b6176e6fb
|
@ -14,7 +14,7 @@ jobs:
|
|||
variables:
|
||||
NUGET_PACKAGES: $(build.sourcesdirectory)/.nuget
|
||||
NETCORE_VERSION: ${{ parameters.netcore_version }}
|
||||
EMCC_DEBUG: 1
|
||||
# EMCC_DEBUG: 1
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
|
|
|
@ -39,18 +39,18 @@
|
|||
|
||||
<Target Name="_WorkaroundEmscriptenPathLength" Condition=" '$(OS)' == 'Windows_NT' " BeforeTargets="_SetupEmscripten">
|
||||
|
||||
<!-- Create a hard link for $(MSBuildThisFileDirectory)..\tools\ to $(TMP)\emsdk -->
|
||||
<Exec Command="mklink /J "$(TMP)\emsdk" "$(EmscriptenSdkToolsPath)..\tools\"" ContinueOnError="true" />
|
||||
|
||||
<!-- Copy the contents of $(EmscriptenSdkToolsPath)..\tools to $(TMP)\emsdk -->
|
||||
<!--<Exec Command="xcopy "$(EmscriptenSdkToolsPath)..\tools\" "$(TMP)\emsdk\" /E /Y" ContinueOnError="true" />-->
|
||||
<PropertyGroup>
|
||||
<_targetEMSDKPath>$(TMP)\$([System.Guid]::NewGuid())</_targetEMSDKPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<Exec Command="mklink /J "$(_targetEMSDKPath)" "$(EmscriptenSdkToolsPath)..\tools\"" ContinueOnError="true" />
|
||||
|
||||
<PropertyGroup>
|
||||
<EmscriptenSdkToolsPath>$(TMP)\emsdk\</EmscriptenSdkToolsPath>
|
||||
<EmscriptenSdkToolsPath>$(_targetEMSDKPath)\</EmscriptenSdkToolsPath>
|
||||
<EmscriptenUpstreamBinPath>$(EmscriptenSdkToolsPath)bin\</EmscriptenUpstreamBinPath>
|
||||
<EmscriptenUpstreamEmscriptenPath>$(EmscriptenSdkToolsPath)emscripten\</EmscriptenUpstreamEmscriptenPath>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<EmscriptenPrependPATH Remove="@(EmscriptenPrependPATH)" />
|
||||
<EmscriptenPrependPATH Include="$(EmscriptenUpstreamBinPath)" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче