aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ogs/ogs.build
blob: 303b1bfdb32017fa26b62ac08a765b7916ac2464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0"?>
    <project name="OGS" default="build" basedir=".">
        <description>nant buildfile for OpenSim</description>
        <property name="debug" value="true" overwrite="false" />
        <target name="clean" description="remove all generated files">
        <nant target="clean">
                <buildfiles>
                        <include name="ServerConsole/default.build" />
                        <include name="gridserver/default.build" />
                </buildfiles>
        </nant>

	</target>

	<target name="svnupdate" description="updates to latest SVN">
		<exec program="svn">
			<arg value="update" />
		</exec>
	</target>

	<target name="upgrade" description="updates from SVN and then builds" depends="clean,svnupdate,build">
		
	</target>
	
	<target name="build" description="compiles the source code">

	<exec program="genvers.sh" />
	<loadfile file="VERSION" property="svnver"/>

	<nant>
    		<buildfiles>
        		<include name="ServerConsole/default.build" />
			<include name="gridserver/default.build" />
		</buildfiles>
	</nant>

	</target>
</project>