8000 Fix UpdateEngCommonFiles target not applying to SBRP (#547) · dotnet/dotnet@ad85650 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit ad85650

Browse files
authored
Fix UpdateEngCommonFiles target not applying to SBRP (#547)
1 parent 9afe45d commit ad85650

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

repo-projects/Directory.Build.targets

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,11 @@
265265
</Touch>
266266
</Target>
267267

268-
<!-- TODO: Remove when all repos use a consistent set of eng/common files: https://github.com/dotnet/source-build/issues/3710. -->
269-
<Target Name="UpdateEngCommonFiles" Condition="'$(UseBootstrapArcade)' != 'true'">
268+
<!-- Don't update arcade's eng/common layout as that is considered live even though it uses bootstrap Arcade. -->
269+
<Target Name="UpdateEngCommonFiles" Condition="'$(RepositoryName)' != 'arcade'">
270270
<ItemGroup>
271-
<InputEngCommonFile Include="$(RepoRoot)src\arcade\eng\common\**\*" />
271+
<InputEngCommonFile Include="$(RepoRoot)eng\common\**\*" Condition="'$(UseBootstrapArcade)' == 'true'" />
272+
<InputEngCommonFile Include="$(RepoRoot)src\arcade\eng\common\**\*" Condition="'$(UseBootstrapArcade)' != 'true'" />
272273
</ItemGroup>
273274

274275
<Copy SourceFiles="@(InputEngCommonFile)"

0 commit comments

Comments
 (0)
0