forked from henon/GitSharp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGitSharp.proj
24 lines (24 loc) · 1.2 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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="3.5">
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\extern\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="SetRelease">
<PropertyGroup>
<BuildConfig>Release</BuildConfig>
<BuildConfigProp>Configuration=$(BuildConfig)</BuildConfigProp>
</PropertyGroup>
</Target>
<Target Name="Test" DependsOnTargets="Build">
<ItemGroup>
<TestAssemblies Include="$(MSBuildProjectDirectory)\Tests\bin\Debug\GitSharp.Tests.dll"/>
</ItemGroup>
<Gallio IgnoreFailures="true" PluginDirectories="$(MSBuildProjectDirectory)\extern" Assemblies="@(TestAssemblies)">
<Output TaskParameter="ExitCode" PropertyName="ExitCode"/>
</Gallio>
<Error Text="Tests execution failed" Condition="'$(ExitCode)' != 0" />
</Target>
</Project>