aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/releng/dobuild.sh
blob: dd324d87c817b9aa56a5a66f4f0a36bb157b3a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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/OpenSim.RegionServer/VersionInfo.cs

printf "Running prebuild..."
cd build
mono bin/Prebuild.exe /target nant

printf "Doing the build..."
nant -buildfile:OpenSim.build
mono bin/Prebuild.exe /target nant
nant -buildfile:OpenGridServices.build