forked from git-tfs/git-tfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CI.proj
22 lines (17 loc) · 872 Bytes
/
CI.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<Project ToolsVersion="4.0" DefaultTargets="CI" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SolutionDir>./</SolutionDir>
<PackagesConfig>.nuget/packages.config</PackagesConfig>
<RequireRestoreConsent>false</RequireRestoreConsent>
</PropertyGroup>
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<Target Name="CI" DependsOnTargets="Build; RunTests" />
<Target Name="Build">
<MSBuild Projects="GitTfs.sln" Properties="Configuration=Debug;RequireRestoreConsent=false" Targets="GitTfsTest" />
</Target>
<UsingTask AssemblyFile="packages/xunit.runners.1.9.1/tools/xunit.runner.msbuild.dll" TaskName="Xunit.Runner.MSBuild.xunit" />
<Target Name="RunTests" DependsOnTargets="RestorePackages">
<xunit Assembly="GitTfsTest/bin/Debug/GitTfsTest.dll" />
</Target>
</Project>