|
From: <exo...@us...> - 2002-12-14 21:28:12
|
Update of /cvsroot/nmock/nmock
In directory sc8-pr-cvs1:/tmp/cvs-serv14230
Modified Files:
nmock.build
Added Files:
build.bat
Log Message:
set everything up to make nmock run under ccnet.
included distribution of NAnt used by ccnet in tools folder. developers should run build.bat to perform the NAnt build.
test target now uses nunit2 target.
--- NEW FILE: build.bat ---
@echo off
tools\NAnt.exe %*
Index: nmock.build
===================================================================
RCS file: /cvsroot/nmock/nmock/nmock.build,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** nmock.build 10 Nov 2002 17:36:05 -0000 1.1
--- nmock.build 14 Dec 2002 21:28:09 -0000 1.2
***************
*** 1,3 ****
--- 1,5 ----
<project name="NMock" default="release">
+
+ <property name="nunit.output" value="Plain"/>
<target name="compile" description="Compile core library">
***************
*** 13,20 ****
</references>
</csc>
</target>
<target name="test" depends="compile" description="Run unit tests">
! <exec program="lib\nunit-console.exe" commandline="/assembly:build\nmock.dll"/>
</target>
--- 15,25 ----
</references>
</csc>
+ <copy file="lib\nunit.framework.dll" todir="build" />
</target>
<target name="test" depends="compile" description="Run unit tests">
! <nunit2>
! <test assemblyname="build\nmock.dll" fork="true" type="${nunit.output}"/>
! </nunit2>
</target>
***************
*** 40,42 ****
--- 45,52 ----
</target>
+ <target name="cruise">
+ <property name="nunit.output" value="Xml"/>
+ <exec program="cvs.exe" commandline="-q update -P -d" />
+ <call target="release"/>
+ </target>
</project>
|