forked from DotNetOpenAuth/DotNetOpenAuth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.proj
73 lines (63 loc) · 2.74 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="EnlistmentInfo.props" />
<Import Project="$(MSBuildProjectDirectory)\tools\DotNetOpenAuth.automated.props"/>
<Import Project="$(ProjectRoot)tools\Translation.targets"/>
<ItemGroup>
<ProjectsInDrop Include="
samples\tools.proj;
tools\drop.proj;
" />
<ProjectsToPublish Include="
samples\samples.proj;
doc\doc.proj;
" />
<ProjectsToClean Include="
$(SolutionPath);
projecttemplates\projecttemplates.proj;
vsi\vsi.proj;
vsix\vsix.proj;
samples\samples.proj;
doc\doc.proj;
"/>
<DirectoriesToClean Include="
$(ProjectRoot)bin;
$(ProjectRoot)**\obj;
$(DropsRoot);
$(ProjectRoot)src\PrecompiledWeb;
" />
<FilesToClean Include="
$(ProjectRoot)**\*~;
$(ProjectRoot)**\*.log*;
$(ProjectRoot)doc\$(ProductName).chm;
" />
</ItemGroup>
<Target Name="BuildTests" DependsOnTargets="SkipVerification">
<MSBuild Projects="$(SolutionPath)" Targets="DotNetOpenAuth_Test;DotNetOpenAuth_TestWeb" BuildInParallel="$(BuildInParallel)" />
</Target>
<Target Name="Build" DependsOnTargets="SkipVerification">
<MSBuild Projects="$(SolutionPath)" BuildInParallel="$(BuildInParallel)" />
</Target>
<Target Name="Rebuild" DependsOnTargets="SkipVerification">
<MSBuild Projects="$(SolutionPath)" Targets="Rebuild" BuildInParallel="$(BuildInParallel)" />
</Target>
<Target Name="Test" DependsOnTargets="BuildTests"
Inputs="$(OutputPath)$(ProductName).dll;$(OutputPath)$(ProductName).Test.dll"
Outputs='$(OutputPath)Test-result.xml'>
<PropertyGroup>
<!-- Performance tests are only expected to pass in optimized builds. -->
<NUnitExcludeCategories Condition=" '$(Configuration)' != 'Release' ">Performance</NUnitExcludeCategories>
</PropertyGroup>
<NUnit Assemblies="$(OutputPath)$(ProductName).Test.dll"
ToolPath="$(NUnitToolPath)"
OutputXmlFile="$(OutputPath)Test-result.xml"
ExcludeCategory="$(NUnitExcludeCategories)" />
</Target>
<Target Name="Nightly">
<MSBuild Projects="@(ProjectsInDrop)" Targets="%(ProjectsInDrop.Targets)" BuildInParallel="$(BuildInParallel)" />
</Target>
<Target Name="Publish">
<MSBuild Projects="@(ProjectsToPublish)" Targets="Publish" BuildInParallel="$(BuildInParallel)" />
</Target>
<Import Project="$(ProjectRoot)tools\DotNetOpenAuth.automated.targets"/>
<Import Project="EnlistmentInfo.targets" />
</Project>