Forgot to remove the call to the new version of DefineProperty, now it will perform...
[castle.git] / Facilities / FactorySupport / default.build
blob69ffdbec82aa9fc6e4f85fe431660bb0753ee30b
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" />
20 <target name="clean">
21 <delete failonerror="false">
22 <fileset basedir="${bin.dir}">
23 <include name="*.dll" />
24 </fileset>
25 </delete>
26 </target>
28 <target name="init" depends="clean">
30 <nant buildfile="${base.dir}/../../copy-tasks.xml" target="copy-container" inheritall="true" />
32 </target>
34 <target name="build" depends="tests.run" />
36 <target name="tests.compile" depends="init">
37 <csc
38 target="library"
39 debug="${debug}"
40 output="${bin.dir}/${test.assembly.name}">
42 <sources basedir="${test.src.dir}" defaultexcludes="true">
43 <include name="**/*.cs" />
44 </sources>
46 <references>
47 <include name="${nunit.framework.dll}" />
48 <include name="${bin.dir}/*.dll" />
49 </references>
50 </csc>
51 </target>
53 <target name="tests.run" depends="tests.compile">
54 <nunit2>
55 <formatter type="${nunit.formatter}" />
56 <test assemblyname="${bin.dir}/${test.assembly.name}" />
57 </nunit2>
58 </target>
60 </project>