diff options
Diffstat (limited to '')
-rw-r--r-- | .nant/local.include | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/.nant/local.include b/.nant/local.include index d4c7fb0..1e8bedc 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -2,6 +2,42 @@ | |||
2 | <!-- please leave the top comment for us emacs folks --> | 2 | <!-- please leave the top comment for us emacs folks --> |
3 | <property name="nunitcmd" value="nunit-console" /> | 3 | <property name="nunitcmd" value="nunit-console" /> |
4 | 4 | ||
5 | <!-- For safety/laziness sake, we're going to take the approach of deleting known extraneous files here rather than | ||
6 | trying to copy across only the essential ones --> | ||
7 | <property name="distbindir" value="distbin" /> | ||
8 | <target name="distbin"> | ||
9 | <copy file="bin/OpenSim.ini.example" tofile="bin/OpenSim.ini"/> | ||
10 | <delete dir="${distbindir}"/> | ||
11 | <!-- <copy file="*" todir="${distbindir}"/> --> | ||
12 | <copy todir="${distbindir}"> | ||
13 | <fileset> | ||
14 | <include name="**"/> | ||
15 | </fileset> | ||
16 | </copy> | ||
17 | <delete dir="${distbindir}/OpenSim"/> | ||
18 | <delete dir="${distbindir}/Prebuild"/> | ||
19 | <delete dir="${distbindir}/%temp%"/> | ||
20 | <delete dir="${distbindir}/.nant"/> | ||
21 | <delete> | ||
22 | <fileset basedir="${distbindir}"> | ||
23 | <include name="Makefile"/> | ||
24 | <include name="nant-color"/> | ||
25 | <include name="OpenSim.*"/> | ||
26 | <include name="prebuild.xml"/> | ||
27 | <include name="runprebuild*"/> | ||
28 | <include name="TESTING.txt"/> | ||
29 | <include name="TestResult.xml"/> | ||
30 | <include name="bin/OpenSim.Server.ini"/> | ||
31 | <include name="bin/Regions/*"/> | ||
32 | <include name="bin/*.db"/> | ||
33 | <include name="**/.git/**"/> | ||
34 | <include name=".gitignore"/> | ||
35 | <include name=".hgignore"/> | ||
36 | </fileset> | ||
37 | </delete> | ||
38 | |||
39 | </target> | ||
40 | |||
5 | <!-- I don't think these targets are being actively used. But just in case, we'll just comment them out for now - justincc --> | 41 | <!-- I don't think these targets are being actively used. But just in case, we'll just comment them out for now - justincc --> |
6 | <!-- | 42 | <!-- |
7 | <property name="projectdir" value="opensim-0.6.9" /> | 43 | <property name="projectdir" value="opensim-0.6.9" /> |
@@ -36,10 +72,9 @@ | |||
36 | <include name="bin/assets/**" /> | 72 | <include name="bin/assets/**" /> |
37 | <include name="bin/data/**" /> | 73 | <include name="bin/data/**" /> |
38 | <include name="bin/OpenSim*xml" /> | 74 | <include name="bin/OpenSim*xml" /> |
39 | <!-- the next is to exclude built libs --> | ||
40 | <exclude name="bin/OpenSim.*dll" /> | ||
41 | <include name="bin/OpenSim.ini" /> | 75 | <include name="bin/OpenSim.ini" /> |
42 | <include name="bin/defaultstripe.png" /> | 76 | <include name="bin/defaultstripe.png" /> |
77 | <exclude name="bin/OpenSim.*dll" /> | ||
43 | </fileset> | 78 | </fileset> |
44 | </copy> | 79 | </copy> |
45 | <touch file="${projectdir}/bin/startup_commands.txt" /> | 80 | <touch file="${projectdir}/bin/startup_commands.txt" /> |