chore: Adjust junction creation

This commit is contained in:
Jerome Laban 2024-09-03 20:20:56 -04:00
Родитель d80cc8ef2c
Коммит 2b6176e6fb
2 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -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 &quot;$(TMP)\emsdk&quot; &quot;$(EmscriptenSdkToolsPath)..\tools\&quot;" ContinueOnError="true" />
<!-- Copy the contents of $(EmscriptenSdkToolsPath)..\tools to $(TMP)\emsdk -->
<!--<Exec Command="xcopy &quot;$(EmscriptenSdkToolsPath)..\tools\&quot; &quot;$(TMP)\emsdk\&quot; /E /Y" ContinueOnError="true" />-->
<PropertyGroup>
<_targetEMSDKPath>$(TMP)\$([System.Guid]::NewGuid())</_targetEMSDKPath>
</PropertyGroup>
<Exec Command="mklink /J &quot;$(_targetEMSDKPath)&quot; &quot;$(EmscriptenSdkToolsPath)..\tools\&quot;" 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)" />