2007-05-05 19:16:26 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# this script does a guaranteed clean build from SVN using a URL specified on the command line
|
|
|
|
|
|
|
|
rm -rf build/
|
|
|
|
mkdir build
|
|
|
|
|
|
|
|
printf "Getting fresh source tree from SVN..."
|
|
|
|
svn checkout $1 build
|
|
|
|
|
|
|
|
printf "Updating templates..."
|
|
|
|
./parsetmpl.sh templates/VersionInfo.cs.tmpl >build/OpenSim.RegionServer/VersionInfo.cs
|
|
|
|
|
|
|
|
printf "Running prebuild..."
|
|
|
|
cd build
|
|
|
|
mono bin/Prebuild.exe /target nant
|
2007-05-16 19:57:27 +00:00
|
|
|
|
2007-05-16 19:58:21 +00:00
|
|
|
printf "Doing the build..."
|
2007-05-16 19:57:27 +00:00
|
|
|
nant
|
2007-05-05 19:16:26 +00:00
|
|
|
|