-
Notifications
You must be signed in to change notification settings - Fork 1
/
public.build
92 lines (69 loc) · 3.06 KB
/
public.build
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0"?>
<project name="TickZoom Engine Build" default="compile.all" >
<property name="base.dir" value="${directory::get-current-directory()}" />
<property name="tools.platform" value="${base.dir}\..\Tools\1.0" />
<property name="tools.nunit.process" value="nunit-console.exe" />
<property name="tools.nunit" value="${tools.platform}\NUnit\bin\net-2.0\${tools.nunit.process}" />
<property name="tools.doxygen" value="${tools.platform}\Doxygen\doxygen.exe" />
<property name="nant.contrib" value="${tools.platform}\nantcontrib-0.85/bin/NAnt.Contrib.Tasks.dll"/>
<property name="nant.settings.currentframework" value="net-3.5" />
<property name="target.assemblies" value="${base.dir}\bin" />
<property name="config.platform" value="Debug" />
<property name="test.include" value="" />
<target name="compile.all" >
<call target="clean" />
<property name="config.platform" value="Debug" />
<call target="compile" />
<property name="config.platform" value="Release" />
<call target="compile" />
</target>
<target name="clean">
<delete dir="bin" />
</target>
<target name="compile">
<!--call target="compile.SODA" /-->
<call target="compile.platform" />
<call target="compile.mbtfix" />
</target>
<target name="test" depends="test.platform"/>
<target name="compile.mbtfix">
<loadtasks assembly="${nant.contrib}" />
<echo message=""/>
<echo message=" === Compile MBTrading FIX ${config.platform} === "/>
<echo message=""/>
<msbuild project="Providers\MBTFIX\MBTFIX.sln">
<property name="Configuration" value="${config.platform}"/>
</msbuild>
</target>
<target name="test.mbtfix">
<exec program="${tools.nunit}" workingdir="${target.assemblies}\${config.platform}"
commandline='MBTFIXTests.dll /labels '/>
</target>
<target name="compile.platform">
<echo message="tools.platform = ${tools.platform}"/>
<loadtasks assembly="${nant.contrib}" />
<echo message=""/>
<echo message=" === Compile Platform ${config.platform} === "/>
<echo message=""/>
<msbuild project="Platform\TickZoom.sln">
<property name="Configuration" value="${config.platform}"/>
</msbuild>
</target>
<target name="compile.SODA">
<echo message=""/>
<echo message=" === Compiling SODA === "/>
<echo message=""/>
<exec program="cmd.exe" workingdir="SODA\src" commandline='/c releasebuild.bat'/>
</target>
<target name="test.platform">
<loadtasks assembly="${nant.contrib}" />
<echo message=""/>
<echo message=" === Test Platform ${config.platform} === "/>
<echo message=""/>
<echo message="include=${test.include}"/>
<exec program="${tools.nunit}" workingdir="${target.assemblies}\${config.platform}"
commandline='ExamplesTest.exe ${test.include} /labels '/>
<exec program="${tools.nunit}" workingdir="${target.assemblies}\${config.platform}"
commandline='TickZoomTesting.exe ${test.include} /labels '/>
</target>
</project>