What's new? | Help | Directory | Sign in
Google
                
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?xml version="1.0"?>
<project name="boo-extensions" default="test">

<property name="build.dir" value="build" />
<property name="boo.dir" value="../../boo/bin" />

<include buildfile="nunit.inc" />

<target name="test" depends="build">
<nunit2>
<formatter type="Plain" />
<test>
<assemblies basedir="${build.dir}">
<include name="*.Tests.dll" />
<exclude name="*.Parser.Tests.dll" />
</assemblies>
</test>
</nunit2>
</target>

<target name="parser-test" depends="test">
<nunit2>
<formatter type="Plain" />
<test>
<assemblies basedir="${build.dir}">
<include name="*.Parser.Tests.dll" />
</assemblies>
</test>
</nunit2>
</target>

<target name="build" depends="Boo.Pegs, Boo.Adt, Boo.OMeta, Boo.OMeta.Parser">
</target>

<target name="Boo.Pegs" depends="init">

<booc target="library" output="${build.dir}/Boo.Pegs.dll">
<sources basedir="src/Boo.Pegs">
<include name="*.boo" />
</sources>
</booc>

<booc target="library" output="${build.dir}/Boo.Pegs.Tests.dll">
<sources basedir="src/Boo.Pegs.Tests">
<include name="*.boo" />
</sources>
<references basedir="${build.dir}">
<include name="${nunit.framework.dll}" />
<include name="Boo.Pegs.dll" />
</references>
</booc>

</target>

<target name="Boo.Adt" depends="init">
<booc target="library" output="${build.dir}/Boo.Adt.dll">
<sources basedir="src/Boo.Adt">
<include name="*.boo" />
</sources>
</booc>

<booc target="library" output="${build.dir}/Boo.Adt.Tests.dll">
<sources basedir="src/Boo.Adt.Tests">
<include name="*.boo" />
</sources>
<references basedir="${build.dir}">
<include name="${nunit.framework.dll}" />
<include name="Boo.Adt.dll" />
</references>
</booc>
</target>

<target name="Boo.OMeta" depends="Boo.Adt">
<booc target="library" output="${build.dir}/Boo.OMeta.dll">
<sources basedir="src/Boo.OMeta">
<include name="*.boo" />
</sources>
<references basedir="${build.dir}">
<include name="Boo.Adt.dll" />
</references>
</booc>

<booc target="library" output="${build.dir}/Boo.OMeta.Tests.dll">
<sources basedir="src/Boo.OMeta.Tests">
<include name="*.boo" />
</sources>
<references basedir="${build.dir}">
<include name="${nunit.framework.dll}" />
<include name="Boo.OMeta.dll" />
<include name="Boo.Adt.dll" />
</references>
</booc>
</target>

<target name="Boo.OMeta.Parser" depends="Boo.Adt, Boo.OMeta">
<booc target="library" output="${build.dir}/Boo.OMeta.Parser.dll">
<sources basedir="src/Boo.OMeta.Parser">
<include name="*.boo" />
</sources>
<references basedir="${build.dir}">
<include name="Boo.Adt.dll" />
<include name="Boo.OMeta.dll" />
</references>
</booc>

<booc target="library" output="${build.dir}/Boo.OMeta.Parser.Tests.dll">
<sources basedir="src/Boo.OMeta.Parser.Tests">
<include name="*.boo" />
</sources>
<references basedir="${build.dir}">
<include name="${nunit.framework.dll}" />
<include name="Boo.OMeta.dll" />
<include name="Boo.Adt.dll" />
<include name="Boo.OMeta.Parser.dll" />
</references>
</booc>
</target>

<target name="init">
<mkdir dir="${build.dir}" />
<copy file="${nunit.framework.dll}" todir="${build.dir}" />
<loadtasks assembly="${boo.dir}/Boo.NAnt.Tasks.dll" />
</target>

<target name="clean">
<delete dir="${build.dir}" />
</target>

<target name="rebuild" depends="clean, build" />

</project>
Show details Hide details

Change log

r220 by rodrigobamboo on Dec 25, 2008   Diff
Boo.PatternMatching => boo
Go to: 
Project members, sign in to write a code review

Older revisions

r186 by rodrigobamboo on Aug 02, 2008   Diff
copy nunit.framework.dll so nunit-
console2 can execute the tests
r167 by rodrigobamboo on Aug 01, 2008   Diff
execute parser tests in a separate run
r158 by rodrigobamboo on Jul 28, 2008   Diff
removed duplicated targets and added
missing nunit.framework references
All revisions of this file

File info

Size: 3528 bytes, 131 lines