1 <?xml version=
"1.0" encoding='iso-
8859-
1'
?>
2 <project name=
"factorysupport-facility" default=
"build">
4 <property name=
"base.dir" value=
"${path::get-full-path( project::get-base-directory() )}" />
5 <property name=
"bin.dir" value=
"${base.dir}/bin" />
7 <include buildfile=
"../../common.xml" />
9 <property name=
"name" value=
"Castle.Facilities.FactorySupport" />
10 <property name=
"test.name" value=
"${name}.Tests" />
12 <property name=
"assembly.name" value=
"${name}.dll" />
13 <property name=
"test.assembly.name" value=
"${test.name}.dll" />
15 <property name=
"src.dir" value=
"${base.dir}/${name}" />
16 <property name=
"test.src.dir" value=
"${base.dir}/${test.name}" />
18 <property name=
"version" value=
"beta-1" />
21 <delete failonerror=
"false">
22 <fileset basedir=
"${bin.dir}">
23 <include name=
"*.dll" />
28 <target name=
"init" depends=
"clean">
30 <nant buildfile=
"${base.dir}/../../copy-tasks.xml" target=
"copy-container" inheritall=
"true" />
34 <target name=
"build" depends=
"tests.run" />
36 <target name=
"tests.compile" depends=
"init">
40 output=
"${bin.dir}/${test.assembly.name}">
42 <sources basedir=
"${test.src.dir}" defaultexcludes=
"true">
43 <include name=
"**/*.cs" />
47 <include name=
"${nunit.framework.dll}" />
48 <include name=
"${bin.dir}/*.dll" />
53 <target name=
"tests.run" depends=
"tests.compile">
55 <formatter type=
"${nunit.formatter}" />
56 <test assemblyname=
"${bin.dir}/${test.assembly.name}" />