61 строка
2.5 KiB
Plaintext
61 строка
2.5 KiB
Plaintext
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<ItemGroup>
|
|
<AssemblyProject Include="src\OutputCacheModuleAsync\Microsoft.AspNet.OutputCache.OutputCacheModuleAsync.csproj" />
|
|
<AssemblyProject Include="src\SQLAsyncOutputCacheProvider\Microsoft.AspNet.OutputCache.SQLAsyncOutputCacheProvider.csproj" />
|
|
<AssemblyProject Include="src\CosmosDBTableAsyncOutputCacheProvider\Microsoft.AspNet.OutputCache.CosmosDBTableAsyncOutputCacheProvider.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<TestProject Include="test\Microsoft.AspNet.OutputCache.SQLAsyncOutputCacheProvider.Test\Microsoft.AspNet.OutputCache.SQLAsyncOutputCacheProvider.Test.csproj" />
|
|
<TestProject Include="test\Microsoft.AspNet.OutputCache.OutputCacheModuleAsync.Test\Microsoft.AspNet.OutputCache.OutputCacheModuleAsync.Test.csproj" />
|
|
<TestProject Include="test\Microsoft.AspNet.OutputCache.CosmosDBTableAsyncOutputCacheProvider.Test\Microsoft.AspNet.OutputCache.CosmosDBTableAsyncOutputCacheProvider.Test.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageProject Include="src\Packages\Packages.csproj" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="Build" DependsOnTargets="BuildAssemblies;UnitTest;BuildPackages" />
|
|
<Target Name="Clean" DependsOnTargets="CleanPackages;CleanTests;CleanAssemblies" />
|
|
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
|
|
|
|
<Target Name="BuildAssemblies" DependsOnTargets="RestorePackages">
|
|
<MSBuild Targets="Build" Projects="@(AssemblyProject)" />
|
|
</Target>
|
|
|
|
<Target Name="BuildTests" DependsOnTargets="RestorePackages">
|
|
<MSBuild Targets="Build" Projects="@(TestProject)" />
|
|
</Target>
|
|
|
|
<Target Name="CleanAssemblies">
|
|
<MSBuild Targets="Clean" Projects="@(AssemblyProject)" />
|
|
</Target>
|
|
|
|
<Target Name="CleanTests">
|
|
<MSBuild Targets="Clean" Projects="@(TestProject)" />
|
|
</Target>
|
|
|
|
<!-- Packages build -->
|
|
|
|
<Target Name="BuildPackages" DependsOnTargets="RestorePackages">
|
|
<MSBuild Targets="" Projects="@(PackageProject)" />
|
|
</Target>
|
|
|
|
<Target Name="CleanPackages">
|
|
<MSBuild Targets="Clean" Projects="@(PackageProject)" />
|
|
</Target>
|
|
|
|
<Target Name="RebuildPackages" DependsOnTargets="CleanPackages;BuildPackages" />
|
|
|
|
<Target Name="RestorePackages">
|
|
<Exec Command=".nuget\NuGet.exe restore" />
|
|
</Target>
|
|
|
|
<Target Name="UnitTest" DependsOnTargets="BuildTests">
|
|
<MSBuild Targets="XunitTest" Projects="@(TestProject)" />
|
|
</Target>
|
|
|
|
<Import Project="tools\MicrosoftAspNetOutputCache.targets"/>
|
|
</Project>
|