forked from henon/GitSharp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
GitSharp.proj
28 lines (21 loc) · 1.38 KB
/
GitSharp.proj
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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="3.5">
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\extern\CodePlex.MSBuildTasks.dll" TaskName="CodePlex.MSBuildTasks.RegexReplace" />
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\extern\CodePlex.MSBuildTasks.dll" TaskName="CodePlex.MSBuildTasks.Unzip" />
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\extern\CodePlex.MSBuildTasks.dll" TaskName="CodePlex.MSBuildTasks.Zip" />
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\extern\Gallio\Gallio.MSBuildTasks.dll" TaskName="Gallio" />
<Target Name="Clean">
<MSBuild Projects="GitSharp.sln" StopOnFirstFailure="true" Properties="$(BuildConfigProp)" BuildInParallel="true" Targets="Clean"/>
</Target>
<Target Name="Build">
<MSBuild Projects="GitSharp.sln" StopOnFirstFailure="true" Properties="$(BuildConfigProp)" BuildInParallel="true" Targets="Rebuild"/>
</Target>
<Target Name="Test" DependsOnTargets="Build">
<ItemGroup>
<TestAssemblies Include="$(MSBuildProjectDirectory)\Tests\bin\Debug\GitSharp.Tests.dll"/>
</ItemGroup>
<Gallio IgnoreFailures="true" Files="@(TestAssemblies)" ReportTypes="html;xml">
<Output TaskParameter="ExitCode" PropertyName="ExitCode"/>
</Gallio>
<Error Text="Tests execution failed" Condition="'$(ExitCode)' != 0" />
</Target>
</Project>