-
Notifications
You must be signed in to change notification settings - Fork 3
/
tenuto.build
67 lines (58 loc) · 1.89 KB
/
tenuto.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
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Build script for NAnt.
For detail about NAnt, go to http://nant.sourceforge.net/
-->
<project name="tenuto" default="lib" basedir=".">
<tstamp/>
<property name="bin" value="bin"/>
<property name="debug" value="true"/>
<!-- depending on your environment, change the following property -->
<property name="resgen.exe" value="c:\dotnetSDK\Bin\ResGen.exe" />
<property name="relaxngDatatype.dll" value="lib\relaxngDatatype.dll"/>
<property name="NUnitCore.dll" value="lib\NUnitCore.dll"/>
<property name="NUnitConsole.exe" value="lib\NUnitConsole.exe"/>
<target name="lib">
<mkdir dir="${bin}"/>
<exec program="${resgen.exe}"
commandline="core\src\Verifier\Verifier.resx" />
<exec program="${resgen.exe}"
commandline="core\src\Reader\GrammarReader.txt" />
<csc target="library" output="${bin}\tenutoCore.dll"
debug="${debug}">
<sources basedir="core\src">
<includes name="**/*.cs"/>
</sources>
<resources basedir="core\src">
<includes name="**/*.resources"/>
</resources>
<references>
<includes name="${relaxngDatatype.dll}"/>
</references>
</csc>
</target>
<target name="driver" depends="lib">
<csc target="exe" output="${bin}\tenuto.exe" debug="${debug}">
<sources basedir="driver\src">
<includes name="**/*.cs" />
</sources>
<references>
<includes name="${relaxngDatatype.dll}"/>
<includes name="${bin}/tenutoCore.dll"/>
</references>
</csc>
</target>
<target name="test"> <!-- depends="lib"> -->
<csc target="exe" output="${bin}\test.exe" debug="${debug}">
<sources basedir="core\test">
<includes name="**/*.cs"/>
</sources>
<references>
<includes name="${relaxngDatatype.dll}"/>
<includes name="${bin}/tenutoCore.dll"/>
<includes name="${NUnitCore.dll}"/>
<includes name="${NUnitConsole.exe}"/>
</references>
</csc>
</target>
</project>