Update of /cvsroot/nhibernate/NHibernateContrib/src/Nullables.NHibernate
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9652/src/Nullables.NHibernate
Modified Files:
Nullables.NHibernate.build
Log Message:
Added clover tasks to NHibernateContrib build.
Index: Nullables.NHibernate.build
===================================================================
RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables.NHibernate/Nullables.NHibernate.build,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Nullables.NHibernate.build 12 Nov 2004 22:08:26 -0000 1.1
--- Nullables.NHibernate.build 6 Dec 2004 02:07:26 -0000 1.2
***************
*** 9,14 ****
<!--
Required properties:
! * build.dir - (path) root level to build to, assemblies will go in ${build.dir}/bin
! * build.debug - (true|false) debug build?
* current.build.defines - framework-specific build defines
* project.version - full project version
--- 9,14 ----
<!--
Required properties:
! * build.dir - (path) root level to build to, assemblies will go in ${build.dir}/bin
! * build.debug - (true|false) debug build?
* current.build.defines - framework-specific build defines
* project.version - full project version
***************
*** 16,21 ****
--- 16,41 ----
* project.version.minor - the minor number of the build
* 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 the NHibernate Types for the 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" />
***************
*** 35,39 ****
<attribute type="AssemblyInformationalVersionAttribute" value="${project.version.major}.${project.version.minor}" />
<attribute type="AssemblyFileVersionAttribute" value="${project.version}" />
! <attribute type="AssemblyDelaySignAttribute" value="false" />
</attributes>
</asminfo>
--- 55,59 ----
<attribute type="AssemblyInformationalVersionAttribute" value="${project.version.major}.${project.version.minor}" />
<attribute type="AssemblyFileVersionAttribute" value="${project.version}" />
! <attribute type="AssemblyKeyFileAttribute" value="${keyFile}" if="${sign}"/>
</attributes>
</asminfo>
|