diff options
author | Justin Clark-Casey (justincc) | 2010-03-26 20:47:26 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-03-26 20:49:07 +0000 |
commit | fd53deb6fc55845067b5adcd05f23acaccf56868 (patch) | |
tree | 5b6c4555da83eb1221003e0f95c9600c2c2911ff /.nant | |
parent | Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-fd53deb6fc55845067b5adcd05f23acaccf56868.zip opensim-SC-fd53deb6fc55845067b5adcd05f23acaccf56868.tar.gz opensim-SC-fd53deb6fc55845067b5adcd05f23acaccf56868.tar.bz2 opensim-SC-fd53deb6fc55845067b5adcd05f23acaccf56868.tar.xz |
add nant distbin target
this will delete all extraneous source code files and copy OpenSim.ini.example to OpenSim.ini
Diffstat (limited to '.nant')
-rw-r--r-- | .nant/local.include | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.nant/local.include b/.nant/local.include index 0f3b9cd..2591aba 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" /> |