mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-08 11:37:04 +09:00

* Delete publish-final.proj and delete unused installer.tasks files * Avoid extra restore phase for tasks The repo local tasks don't participate in the repo restore anymore, hence avoiding the extra restore phase which should improve reliability and build times.
28 lines
No EOL
1.3 KiB
XML
28 lines
No EOL
1.3 KiB
XML
<Project Sdk="Microsoft.Build.Traversal">
|
|
|
|
<PropertyGroup>
|
|
<TraversalGlobalProperties Condition="'$(BuildAllConfigurations)' != 'true'">BuildTargetFramework=$([MSBuild]::ValueOrDefault('$(BuildTargetFramework)', '$(NetCoreAppCurrent)'))</TraversalGlobalProperties>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Subsets are already imported by Directory.Build.props. -->
|
|
<ProjectReference Include="@(ProjectToBuild)" />
|
|
<!-- Only include tasks.proj during restore and build incrementally via a target. -->
|
|
<ProjectReference Include="$(RepoTasksDir)tasks.proj" Condition="'$(MSBuildRestoreSessionId)' != ''" />
|
|
</ItemGroup>
|
|
|
|
<!-- Custom arcade target which isn't available in Microsoft.Build.Traversal. -->
|
|
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
|
|
|
|
<Import Project="$(RepositoryEngineeringDir)SubsetValidation.targets" />
|
|
|
|
<!-- Upfront restore hooks -->
|
|
<Import Project="$(RepositoryEngineeringDir)restore\docs.targets" Condition="'$(DotNetBuildFromSource)' != 'true'" />
|
|
<Import Project="$(RepositoryEngineeringDir)restore\optimizationData.targets" Condition="'$(DotNetBuildFromSource)' != 'true' and '$(EnableNgenOptimization)' == 'true'" />
|
|
|
|
<Target Name="BuildLocalTasks"
|
|
BeforeTargets="Build">
|
|
<MSBuild Projects="$(RepoTasksDir)tasks.proj"
|
|
Targets="BuildIncrementally" />
|
|
</Target>
|
|
</Project> |