diff options
Diffstat (limited to '.nant')
-rw-r--r-- | .nant/bamboo.build | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.nant/bamboo.build b/.nant/bamboo.build new file mode 100644 index 0000000..f819d54 --- /dev/null +++ b/.nant/bamboo.build | |||
@@ -0,0 +1,38 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim" default="build"> | ||
3 | <target name="build"> | ||
4 | <exec program="mono" commandline="bin/Prebuild.exe /target nant" /> | ||
5 | <nant buildfile="OpenSim.build" target="build" /> | ||
6 | </target> | ||
7 | <target name="cibuild"> | ||
8 | <property name="projectdir" value="opensim-0.5.5" /> | ||
9 | <exec program="mono" commandline="bin/Prebuild.exe /target nant" /> | ||
10 | <nant buildfile="OpenSim.build" target="build" /> | ||
11 | |||
12 | <delete dir="${projectdir}" /> | ||
13 | <copy todir="${projectdir}"> | ||
14 | <fileset basedir="."> | ||
15 | <include name="ThirdPartyLicenses/**" /> | ||
16 | <include name="CONTRIBUTORS.txt" /> | ||
17 | <include name="README" /> | ||
18 | <include name="bin/**" /> | ||
19 | </fileset> | ||
20 | </copy> | ||
21 | |||
22 | <touch file="${projectdir}/bin/startup_commands.txt" /> | ||
23 | |||
24 | <zip zipfile="${projectdir}.zip"> | ||
25 | <fileset basedir="."> | ||
26 | <include name="${projectdir}/**" /> | ||
27 | </fileset> | ||
28 | </zip> | ||
29 | <tar destfile="${projectdir}.tar.gz" compression="GZip"> | ||
30 | <fileset basedir="."> | ||
31 | <include name="${projectdir}/**" /> | ||
32 | </fileset> | ||
33 | </tar> | ||
34 | |||
35 | <copy file="${projectdir}.zip" tofile="/home/buildsystem/public_html/${projectdir}-TRUNK.zip" overwrite="true" /> | ||
36 | <copy file="${projectdir}.tar.gz" tofile="/home/buildsystem/public_html/${projectdir}-TRUNK.tar.gz" overwrite="true" /> | ||
37 | </target> | ||
38 | </project> \ No newline at end of file | ||