From: Michael D. <mik...@us...> - 2004-12-06 02:07:36
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/Nullables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9652/src/Nullables Modified Files: Nullables.build Log Message: Added clover tasks to NHibernateContrib build. Index: Nullables.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/Nullables.build,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Nullables.build 12 Nov 2004 22:08:25 -0000 1.1 --- Nullables.build 6 Dec 2004 02:07:26 -0000 1.2 *************** *** 17,25 **** --- 17,42 ---- * project.version.build - the build number * sign - (true|false)indicates if the Assembly should be signed. + * clover.enabled - (true|false) indicates if Clover.NET should handle the build + * clover.src - location of the clovered source to be stored at from the root of NHibernateContrib + * clover.db - location of the coverage db from the root of NHibernateContrib --> + <if propertytrue="clover.enabled"> + <loadtasks assembly="${clover.home}/CloverNAnt-0.84.dll" /> + </if> + <property name="keyFile" value="..\NHibernate.snk" /> <target name="build" description="Build Nullables"> + + <if propertytrue="clover.enabled"> + <clover-setup + initstring="..\..\${clover.db}" + builddir="..\..\${clover.src}\${nant.project.name}" + enabled="${clover.enabled}" + flushinterval="1000" + /> + </if> + <!-- ensure the AssemblyInfo is writable --> <attrib file="AssemblyInfo.cs" readonly="false" /> *************** *** 63,65 **** --- 80,83 ---- </target> + </project> |