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. -->
|
||||
<Target Name="UpdateEngCommonFiles"
|
||||
Condition="'$(UpdateEngCommonFiles)' == 'true' or '$(DotNetBuildVertical)' == 'true'"
|
||||
Condition="'$(RepositoryName)' != 'arcade' and ('$(UpdateEngCommonFiles)' == 'true' or '$(DotNetBuildVertical)' == 'true')"
|
||||
BeforeTargets="Build">
|
||||
<!-- We assume that the eng/common files in Arcade are most up-to-date. -->
|
||||
<ItemGroup>
|
||||
<OriginEngCommonFile Include="$(RepoRoot)src\arcade\eng\common\**\*" />
|
||||
</ItemGroup>
|
||||
|
||||
<Copy SourceFiles="@(OrchestratorEngCommonFile)"
|
||||
<Copy SourceFiles="@(OriginEngCommonFile)"
|
||||
DestinationFolder="$(ProjectDirectory)eng\common\%(RecursiveDir)"
|
||||
SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
|
|
Loading…
Reference in a new issue