diff options
Diffstat (limited to 'releng/dobuild.sh')
-rwxr-xr-x | releng/dobuild.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/releng/dobuild.sh b/releng/dobuild.sh new file mode 100755 index 0000000..0fbb979 --- /dev/null +++ b/releng/dobuild.sh | |||
@@ -0,0 +1,20 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # this script does a guaranteed clean build from SVN using a URL specified on the command line | ||
4 | |||
5 | rm -rf build/ | ||
6 | mkdir build | ||
7 | |||
8 | printf "Getting fresh source tree from SVN..." | ||
9 | svn checkout $1 build | ||
10 | |||
11 | printf "Updating templates..." | ||
12 | ./parsetmpl.sh templates/VersionInfo.cs.tmpl >build/OpenSim.RegionServer/VersionInfo.cs | ||
13 | |||
14 | printf "Running prebuild..." | ||
15 | cd build | ||
16 | mono bin/Prebuild.exe /target nant | ||
17 | |||
18 | printf "Doing the build..." | ||
19 | nant | ||
20 | |||