forked from Code52/carnac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.proj
31 lines (19 loc) · 875 Bytes
/
build.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
29
30
31
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask AssemblyFile=".\tools\xunit\xunit.runner.msbuild.dll" TaskName="Xunit.Runner.MSBuild.xunit" />
<PropertyGroup>
<OutputPath>.\src\Carnac\bin\$(Configuration)</OutputPath>
</PropertyGroup>
<Target Name="Compile">
<Message Text=" ===========Compiling code===========" Importance="High" />
<MSBuild Projects="./src/Carnac.sln" Properties="Configuration=$(Configuration)" />
</Target>
<Target Name="Test" DependsOnTargets="Compile">
<Message Text="===========Tests===========" Importance="High" />
<ItemGroup>
<TestFiles Include=".\**\bin\$(Configuration)\*Tests.dll" />
</ItemGroup>
<xunit Assembly="@(TestFiles)" />
</Target>
<Target Name="Package" DependsOnTargets="Test">
</Target>
</Project>