diff options
author | gareth | 2007-05-05 19:16:26 +0000 |
---|---|---|
committer | gareth | 2007-05-05 19:16:26 +0000 |
commit | 0dbb743e2d4cf4a6a98d952574e59a075cfb125d (patch) | |
tree | 370440bd700353db293143388529096224a75c40 /releng/dobuild.sh | |
parent | ZOMG! A release-engineering setup (or rather, 2 scripts, working on it) (diff) | |
download | opensim-SC-0dbb743e2d4cf4a6a98d952574e59a075cfb125d.zip opensim-SC-0dbb743e2d4cf4a6a98d952574e59a075cfb125d.tar.gz opensim-SC-0dbb743e2d4cf4a6a98d952574e59a075cfb125d.tar.bz2 opensim-SC-0dbb743e2d4cf4a6a98d952574e59a075cfb125d.tar.xz |
Added templates script
Added VersionInfo.cs template
Diffstat (limited to '')
-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 | |||