-
Notifications
You must be signed in to change notification settings - Fork 143
/
build.3.5.xml
27 lines (21 loc) · 1.05 KB
/
build.3.5.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
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<!-- Cassette.targets contains some helper tasks we'll use -->
<Import Project="Cassette.targets" />
<Target Name="Default" DependsOnTargets="Build" />
<Target Name="Build">
<Delete Files="build\net35\**\*.*" />
<MSBuild Projects="src\Cassette.sln"
Properties="Configuration=ReleaseNET35;TargetFramework=v3.5" />
<Copy SourceFiles="license.txt"
DestinationFolder="build\net35;"/>
</Target>
<Target Name="Test" DependsOnTargets="Build">
<ItemGroup>
<TestProject Include="src\Cassette.UnitTests\bin\ReleaseNET35\NET35\Cassette.UnitTests.dll"/>
<TestProject Include="src\*\bin\ReleaseNET35\NET35\Cassette.*.UnitTests.dll"/>
<TestProject Include="src\Cassette.IntegrationTests\bin\ReleaseNET35\NET35\Cassette.IntegrationTests.dll"/>
</ItemGroup>
<Exec Command="tools\xunit.console.clr4.x86.exe %(TestProject.Identity)" />
</Target>
</Project>