diff options
author | Sean Dague | 2007-09-17 11:25:47 +0000 |
---|---|---|
committer | Sean Dague | 2007-09-17 11:25:47 +0000 |
commit | 59ddae41dea3c9f7decffe888700cdd84da51e49 (patch) | |
tree | aa1a61efa521be9b14a399a45b5e2ab5f85c9ff2 /.nant | |
parent | updated prebuild (diff) | |
download | opensim-SC-59ddae41dea3c9f7decffe888700cdd84da51e49.zip opensim-SC-59ddae41dea3c9f7decffe888700cdd84da51e49.tar.gz opensim-SC-59ddae41dea3c9f7decffe888700cdd84da51e49.tar.bz2 opensim-SC-59ddae41dea3c9f7decffe888700cdd84da51e49.tar.xz |
the beginnings of a workable dist target
Diffstat (limited to '.nant')
-rw-r--r-- | .nant/local.include | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/.nant/local.include b/.nant/local.include index 29133da..d95c729 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -1,7 +1,30 @@ | |||
1 | <target name="zip"> | 1 | <property name="projectdir" value="opensim-0.3.svn" /> |
2 | <zip zipfile="opensim-0.3.svn.zip"> | 2 | |
3 | <target name="distdir"> | ||
4 | <delete dir="${projectdir}" /> | ||
5 | <copy todir="${projectdir}"> | ||
3 | <fileset basedir="."> | 6 | <fileset basedir="."> |
4 | <include name="./**/*.cs" /> | 7 | <include name="OpenSim/**/*.cs" /> |
8 | <include name="OpenSim/**/*.build" /> | ||
9 | <include name="OpenSim/**/*.csproj" /> | ||
10 | <include name="OpenSim/**/*.sln" /> | ||
11 | <include name="bin/*.dll" /> | ||
12 | <include name="bin/*.so" /> | ||
13 | <include name="bin/*.config" /> | ||
14 | <exclude name="bin/OpenSim.*" /> | ||
5 | </fileset> | 15 | </fileset> |
6 | </zip> | 16 | </copy> |
17 | </target> | ||
18 | |||
19 | <target name="dist" depends="distdir"> | ||
20 | <zip zipfile="${projectdir}.zip"> | ||
21 | <fileset basedir="."> | ||
22 | <include name="${projectdir}/**" /> | ||
23 | </fileset> | ||
24 | </zip> | ||
25 | <tar destfile="${projectdir}.tar.gz" compression="GZip"> | ||
26 | <fileset basedir="."> | ||
27 | <include name="${projectdir}/**" /> | ||
28 | </fileset> | ||
29 | </tar> | ||
7 | </target> | 30 | </target> |