Skip to content

Commit

Permalink
Revert "Try a cleaner .app find in msbuild, from @akoeplinger"
Browse files Browse the repository at this point in the history
This reverts commit 64da851.
  • Loading branch information
directhex committed Jun 8, 2020
1 parent 64da851 commit 506afd2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libraries/sendtohelix.proj
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@

<ItemGroup Condition="'$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'tvOS'">
<!-- Find all directories named *.app and strip the trailing slash -->
<XHarnessAppFolderToTest Include="$([System.IO.Directory]::GetDirectories('$(TestArchiveTestsRoot)', '*.app', System.IO.SearchOption.AllDirectories))">
<_appBundleFiles Include="$(TestArchiveTestsRoot)**/*"/>
<_appBundleDirs Include="@(_appBundleFiles->'%(RootDir)%(Directory)'->Distinct())"/>
<XHarnessAppFolderToTest Include="@(_appBundleDirs->Replace(&quot;.app/&quot;, &quot;.app&quot;))"
Condition="$([System.Text.RegularExpressions.Regex]::IsMatch(%(Identity), '\.app/?$'))">
<Targets Condition="'$(TargetArchitecture)' == 'arm'">ios-device</Targets>
<Targets Condition="'$(TargetArchitecture)' == 'arm64'">ios-device</Targets>
<Targets Condition="'$(TargetArchitecture)' == 'x64'">ios-simulator-64</Targets>
Expand Down

0 comments on commit 506afd2

Please sign in to comment.