diff options
Diffstat (limited to '.nant')
-rw-r--r-- | .nant/local.include | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/.nant/local.include b/.nant/local.include index 4fa3e4d..6d3e972 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -2,13 +2,37 @@ | |||
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 | 5 | <!-- This target produces a source distribution of OpenSimulator --> |
6 | trying to copy across only the essential ones --> | 6 | <!-- TODO: A few parameters still need to be tweaked after running this - need to do this automatically with sed or similar --> |
7 | <property name="distbindir" value="distbin" /> | 7 | <target name="distsrc"> |
8 | <target name="distbin"> | ||
9 | <copy file="bin/OpenSim.ini.example" tofile="bin/OpenSim.ini"/> | 8 | <copy file="bin/OpenSim.ini.example" tofile="bin/OpenSim.ini"/> |
10 | <copy file="bin/config-include/StandaloneCommon.ini.example" tofile="bin/config-include/StandaloneCommon.ini"/> | 9 | <copy file="bin/config-include/StandaloneCommon.ini.example" tofile="bin/config-include/StandaloneCommon.ini"/> |
11 | <copy file="bin/config-include/FlotsamCache.ini.example" tofile="bin/config-include/FlotsamCache.ini"/> | 10 | <copy file="bin/config-include/FlotsamCache.ini.example" tofile="bin/config-include/FlotsamCache.ini"/> |
11 | <!-- delete files generated by runprebuild.sh which had to be run in order to generate the build file for this target--> | ||
12 | <delete> | ||
13 | <fileset basedir="OpenSim"> | ||
14 | <include name="**/*.build"/> | ||
15 | <include name="**/*.csproj*"/> | ||
16 | <include name="**/*.dll.build"/> | ||
17 | <include name="**/*.pidb"/> | ||
18 | <exclude name="Tools/OpenSim.32BitLaunch/**"/> | ||
19 | <exclude name="Tools/Robust.32BitLaunch/**"/> | ||
20 | <exclude name="Tools/LaunchSLClient/**"/> | ||
21 | </fileset> | ||
22 | </delete> | ||
23 | <delete> | ||
24 | <fileset> | ||
25 | <include name="OpenSim.build"/> | ||
26 | <include name="OpenSim.sln"/> | ||
27 | </fileset> | ||
28 | </delete> | ||
29 | </target> | ||
30 | |||
31 | <property name="distbindir" value="distbin" /> | ||
32 | <!-- This target produces a binary directory called distbin/ in OpenSim/bin which contains everything needed for binary distribution --> | ||
33 | <!-- For safety/laziness sake, we're going to take the approach of deleting known extraneous files here rather than | ||
34 | trying to copy across only the essential ones --> | ||
35 | <target name="distbin"> | ||
12 | <delete dir="${distbindir}"/> | 36 | <delete dir="${distbindir}"/> |
13 | <copy todir="${distbindir}"> | 37 | <copy todir="${distbindir}"> |
14 | <fileset> | 38 | <fileset> |