This repository was archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathSpring.Threading.build
More file actions
72 lines (55 loc) · 2.86 KB
/
Copy pathSpring.Threading.build
File metadata and controls
72 lines (55 loc) · 2.86 KB
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
<?xml version="1.0" ?>
<project name="Spring.Threading" default="build">
<property name="solution.home" value="${path::get-full-path('.')}" />
<property name="solution.targetframework" value="net-3.5" overwrite="false" />
<include buildfile="${solution.home}/dependency/NAntCommonTargets/CommonTargets.build"/>
<property name="nant.settings.currentframework" value="net-3.5" />
<property name="build.solution.file" value="${build.project.name}.${solution.targetframework}.sln"/>
<property name="application.version" value="1.0.0" />
<!-- Uncomment lines below if multiple assemblies are built -->
<property name="build.assembly.1" value="Spring.Threading\${solution.targetframework}\${build.configuration}\Spring.Threading" />
<property name="build.assembly.2" value="Spring.Threading\${solution.targetframework}\${build.configuration}\LinqBridge" />
<property name="build.assembly.all" value="${build.assembly.1};${build.assembly.2}" />
<target name="all" depends="distribute, document, fxCop, coverage"/>
<target name="build" depends="buildSolution" />
<target name="fxCop" depends="build">
<call target="runFxCop"/>
</target>
<target name="distribute" depends="build">
<call target="createDistributionBinary" />
</target>
<target name="document" depends="build">
<call target="sandcastle" />
</target>
<!-- Sandcastle -->
<target name="sandcastle">
<!-- Uncomment below if additional dependencies need to be added -->
<property name="sandcastle.dependency.1" value="${solution.home}\dependency\CommonLogging\net\2.0\${build.configuration}\*.dll"/>
<property name="sandcastle.dependency.2" value="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Configuration.dll"/>
<property name="sandcastle.dependency.all" value="${sandcastle.dependency.1};${sandcastle.dependency.2}"/>
<call target="runSandcastle" />
</target>
<target name="test" depends="build">
<call target="runAllTestWithNCover"/>
</target>
<target name="coverage" depends="test, prepareCoverageXsl">
<call target="coverageReport"/>
</target>
<target name="coverageReport">
<!-- Uncomment below to customize the coverage minumum and satisfactory -->
<!--
<property name="coverage.satisfactory" value="80"/>
<property name="coverage.minimum" value="80"/>
-->
<!--
Uncomment below add additional exclusion patterns. Up to 3 patterns
are support for assembly, namespace and class each
-->
<!--
<property name="coverage.assembly.exclusion.1" value="DummyAssemblyPlaceHolder"/>
<property name="coverage.namespace.exclusion.1" value="DummyNamespacePlaceHolder"/>
<property name="coverage.class.exclusion.1" value="BN.Common.TestHelper"/>
-->
<call target="generateCoverageReport"/>
</target>
</project>