2008-04-23 06:44:22 +00:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<project name="OpenSim" default="build">
|
2008-05-06 22:14:15 +00:00
|
|
|
<target name="build">
|
|
|
|
<exec program="mono" commandline="../bin/Prebuild.exe /target nant" />
|
|
|
|
<nant buildfile="../OpenSim.build" target="build" />
|
|
|
|
</target>
|
|
|
|
<target name="cibuild">
|
|
|
|
<property name="projectdir" value="opensim-0.5.5" />
|
|
|
|
<exec program="mono" commandline="bin/Prebuild.exe /target nant" workingdir="../" />
|
|
|
|
<nant buildfile="../OpenSim.build" target="build" />
|
2008-04-23 07:25:08 +00:00
|
|
|
|
2008-05-06 22:14:15 +00:00
|
|
|
<delete dir="../${projectdir}" />
|
|
|
|
<copy todir="../${projectdir}">
|
|
|
|
<fileset basedir="../">
|
|
|
|
<include name="ThirdPartyLicenses/**" />
|
|
|
|
<include name="CONTRIBUTORS.txt" />
|
|
|
|
<include name="README" />
|
|
|
|
<include name="bin/**" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
<touch file="../${projectdir}/bin/startup_commands.txt" />
|
2008-04-23 07:25:08 +00:00
|
|
|
|
2008-07-24 05:23:38 +00:00
|
|
|
<delete dir="../test-results" />
|
2008-05-06 22:14:15 +00:00
|
|
|
<mkdir dir="../test-results" />
|
2008-07-24 05:23:38 +00:00
|
|
|
<nunit2>
|
|
|
|
<formatter type="Xml" usefile="true" extension=".xml" outputdir="../test-results" />
|
|
|
|
<test>
|
|
|
|
<assemblies>
|
|
|
|
<include name="../bin/OpenSim.Framework.Tests.dll" />
|
|
|
|
<include name="../bin/OpenSim.Region.ScriptEngine.Common.Tests.dll" />
|
|
|
|
<include name="../bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" />
|
|
|
|
<include name="../bin/OpenSim.Region.Environment.dll" />
|
|
|
|
</assemblies>
|
|
|
|
</test>
|
|
|
|
</nunit2>
|
2008-05-18 23:23:39 +00:00
|
|
|
|
2008-05-06 22:14:15 +00:00
|
|
|
<zip zipfile="../${projectdir}.zip">
|
|
|
|
<fileset basedir="${projectdir}/">
|
|
|
|
<include name="**" />
|
|
|
|
</fileset>
|
|
|
|
</zip>
|
|
|
|
<tar destfile="../${projectdir}.tar.gz" compression="GZip">
|
|
|
|
<fileset basedir="${projectdir}/">
|
|
|
|
<include name="**" />
|
|
|
|
</fileset>
|
|
|
|
</tar>
|
2008-05-18 23:23:39 +00:00
|
|
|
|
2008-05-06 22:14:15 +00:00
|
|
|
<copy file="../${projectdir}.zip" tofile="/home/buildsystem/public_html/${projectdir}-TRUNK.zip" overwrite="true" />
|
|
|
|
<copy file="../${projectdir}.tar.gz" tofile="/home/buildsystem/public_html/${projectdir}-TRUNK.tar.gz" overwrite="true" />
|
2008-05-18 23:23:39 +00:00
|
|
|
|
|
|
|
<echo message="Generating Doxygen documentation" />
|
|
|
|
<exec program="doxygen" workingdir="../doc" commandline="doxygen.conf" />
|
2008-06-06 01:03:37 +00:00
|
|
|
<exec program="rsync" workingdir="../doc" commandline="-avz --delete html/ /home/afrisby/public_html/docs/html/" />
|
2008-05-06 22:14:15 +00:00
|
|
|
</target>
|
|
|
|
</project>
|