-
Notifications
You must be signed in to change notification settings - Fork 24
/
SharpOS.build
82 lines (68 loc) · 2.17 KB
/
SharpOS.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
<?xml version="1.0"?>
<!--
* (C) 2007 Johann MacDonagh <johann [at] macdonaghs [dot] com>
*
* Licensed under the terms of the GNU GPL License version 2.
*
-->
<project name="SharpOS" default="build">
<target name="copy">
<copy todir="build">
<fileset basedir="References">
<include name="*" />
</fileset>
</copy>
</target>
<target name="build" depends="copy">
<echo message="Building projects" />
<nant buildfile="./Tools/Tools.build" />
<nant buildfile="./AOT/AOT.build" />
<nant buildfile="./Data/Data.build" />
<nant buildfile="./Kernel/Kernel.build" />
</target>
<target name="test" depends="copy">
<echo message="Running integrity tests..." />
<nant buildfile="./Tools/Tools.build"/>
<nant buildfile="./AOT/AOT.build" target="test" />
<nant buildfile="./Data/Data.build"/>
<nant buildfile="./Kernel/Kernel.build" target="test" />
</target>
<target name="dist" depends="build">
<nant buildfile="./Kernel/Kernel.build"
target="aot" />
</target>
<target name="dist-test" depends="test">
<nant buildfile="./Kernel/Kernel.build"
target="aot-test" />
</target>
<target name="run" depends="dist">
<nant buildfile="./Kernel/Kernel.build"
target="run" />
</target>
<target name="run-test" depends="dist-test">
<nant buildfile="./Kernel/Kernel.build"
target="run" />
</target>
<target name="debug" depends="dist">
<nant buildfile="./Kernel/Kernel.build"
target="debug" />
</target>
<target name="debug-test" depends="dist-test">
<nant buildfile="./Kernel/Kernel.build"
target="debug" />
</target>
<target name="vsupdate">
<echo message="Updating VS files..." />
<nant buildfile="./Tools/VSUpdate/VSUpdate.build"/>
<property name="prefix" value="build" overwrite="true" />
<exec program="${path::combine(prefix, 'VSUpdate.exe')}"
commandline="." />
</target>
<target name="clean">
<nant buildfile="./Tools/Tools.build" target="clean" />
<nant buildfile="./AOT/AOT.build" target="clean" />
<nant buildfile="./Data/Data.build" target="clean" />
<nant buildfile="./Kernel/Kernel.build" target="clean" />
<delete dir="./build/Temp" />
</target>
</project>