forked from Code52/github-for-outlook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.proj
32 lines (21 loc) · 1021 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
32
<Project ToolsVersion="4.0" DefaultTargets="Package" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask AssemblyFile=".\tools\xunit\xunit.runner.msbuild.dll" TaskName="Xunit.Runner.MSBuild.xunit" />
<PropertyGroup>
<OutputPath>.\src\GithubForOutlook\bin\$(Configuration)</OutputPath>
</PropertyGroup>
<Target Name="Compile">
<Message Text=" ===========Compiling code===========" Importance="High" />
<MSBuild Projects="./src/GithubForOutlook.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">
<MSBuild Projects="./src/GithubForOutlook.sln" Properties="Configuration=$(Configuration)" Targets="Publish" />
<!---->
</Target>
</Project>