forked from Code52/pretzel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.proj
24 lines (16 loc) · 797 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
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- TODO: mono build -->
<!-- TODO: package step to merge code into one binary -->
<UsingTask AssemblyFile=".\tools\xunit\xunit.runner.msbuild.dll" TaskName="Xunit.Runner.MSBuild.xunit" />
<Target Name="Compile">
<Message Text=" ===========Building Project===========" Importance="High" />
<MSBuild Projects="./src/Pretzel.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>
</Project>