Fix UpdateEngCommonFiles target
This commit is contained in:
parent
b2b0bcd152
commit
3166f9e709
1 changed files with 2 additions and 2 deletions
|
@ -124,14 +124,14 @@
|
||||||
|
|
||||||
<!-- TODO: Remove when all repos use a consistent set of eng/common files: https://github.com/dotnet/source-build/issues/3710. -->
|
<!-- TODO: Remove when all repos use a consistent set of eng/common files: https://github.com/dotnet/source-build/issues/3710. -->
|
||||||
<Target Name="UpdateEngCommonFiles"
|
<Target Name="UpdateEngCommonFiles"
|
||||||
Condition="'$(UpdateEngCommonFiles)' == 'true' or '$(DotNetBuildVertical)' == 'true'"
|
Condition="'$(RepositoryName)' != 'arcade' and ('$(UpdateEngCommonFiles)' == 'true' or '$(DotNetBuildVertical)' == 'true')"
|
||||||
BeforeTargets="Build">
|
BeforeTargets="Build">
|
||||||
<!-- We assume that the eng/common files in Arcade are most up-to-date. -->
|
<!-- We assume that the eng/common files in Arcade are most up-to-date. -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<OriginEngCommonFile Include="$(RepoRoot)src\arcade\eng\common\**\*" />
|
<OriginEngCommonFile Include="$(RepoRoot)src\arcade\eng\common\**\*" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Copy SourceFiles="@(OrchestratorEngCommonFile)"
|
<Copy SourceFiles="@(OriginEngCommonFile)"
|
||||||
DestinationFolder="$(ProjectDirectory)eng\common\%(RecursiveDir)"
|
DestinationFolder="$(ProjectDirectory)eng\common\%(RecursiveDir)"
|
||||||
SkipUnchangedFiles="true" />
|
SkipUnchangedFiles="true" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
Loading…
Reference in a new issue