diff options
Diffstat (limited to '')
-rw-r--r-- | ogs/ogs.build | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/ogs/ogs.build b/ogs/ogs.build new file mode 100644 index 0000000..303b1bf --- /dev/null +++ b/ogs/ogs.build | |||
@@ -0,0 +1,38 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <project name="OGS" default="build" basedir="."> | ||
3 | <description>nant buildfile for OpenSim</description> | ||
4 | <property name="debug" value="true" overwrite="false" /> | ||
5 | <target name="clean" description="remove all generated files"> | ||
6 | <nant target="clean"> | ||
7 | <buildfiles> | ||
8 | <include name="ServerConsole/default.build" /> | ||
9 | <include name="gridserver/default.build" /> | ||
10 | </buildfiles> | ||
11 | </nant> | ||
12 | |||
13 | </target> | ||
14 | |||
15 | <target name="svnupdate" description="updates to latest SVN"> | ||
16 | <exec program="svn"> | ||
17 | <arg value="update" /> | ||
18 | </exec> | ||
19 | </target> | ||
20 | |||
21 | <target name="upgrade" description="updates from SVN and then builds" depends="clean,svnupdate,build"> | ||
22 | |||
23 | </target> | ||
24 | |||
25 | <target name="build" description="compiles the source code"> | ||
26 | |||
27 | <exec program="genvers.sh" /> | ||
28 | <loadfile file="VERSION" property="svnver"/> | ||
29 | |||
30 | <nant> | ||
31 | <buildfiles> | ||
32 | <include name="ServerConsole/default.build" /> | ||
33 | <include name="gridserver/default.build" /> | ||
34 | </buildfiles> | ||
35 | </nant> | ||
36 | |||
37 | </target> | ||
38 | </project> | ||