Xamarin Public Jenkins (auto-signing) 536cd135cc Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
2017-08-21 15:34:15 +00:00

25 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Restore;Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<TestPackages Condition="'$(TestPackages)' != ''" Include="$(TestPackages)" />
</ItemGroup>
<Target Name="GetProjects">
<ItemGroup>
<Project Condition="'@(TestPackages)' == ''" Include="projects\**\*.csproj" />
<Project Condition="'@(TestPackages)' != ''" Include="projects\%(TestPackages.Identity)\**\*.csproj" />
</ItemGroup>
</Target>
<Target Name="Restore"
Inputs="@(Project)"
Outputs="@(Project->'%(RootDir)%(Directory)obj\project.assets.json')"
DependsOnTargets="GetProjects">
<MSBuild Projects="@(Project)" Targets="Restore" BuildInParallel="true" />
<Touch Files="@(Project->'%(RootDir)%(Directory)obj\project.assets.json')" />
</Target>
<Target Name="Test" DependsOnTargets="GetProjects">
<MSBuild Projects="@(Project)" Targets="Test" BuildInParallel="true" />
</Target>
</Project>