forked from andrewdavey/cassette
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.4.0.xml
29 lines (23 loc) · 1.11 KB
/
build.4.0.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<!-- Cassette.targets contains some helper tasks we'll use -->
<Import Project="Cassette.targets" />
<Target Name="Default" DependsOnTargets="Build" />
<Target Name="Build">
<Delete Files="build\net40\**\*.*" />
<!-- .NET 4.0 build -->
<MSBuild Projects="src\Cassette.sln"
Properties="Configuration=Release;TargetFramework=v4.0" />
<Copy SourceFiles="license.txt"
DestinationFolder="build\net40;"/>
</Target>
<Target Name="Test" DependsOnTargets="Build">
<ItemGroup>
<!-- Test .NET 4.0 Projects -->
<TestProject Include="src\*\bin\Release\NET40\Cassette.*.UnitTests.dll"/>
<TestProject Include="src\Cassette.UnitTests\bin\Release\NET40\Cassette.UnitTests.dll"/>
<TestProject Include="src\Cassette.IntegrationTests\bin\Release\NET40\Cassette.IntegrationTests.dll"/>
</ItemGroup>
<Exec Command="tools\xunit.console.clr4.x86.exe %(TestProject.Identity)" />
</Target>
</Project>