dobuild.sh 539 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. # this script does a guaranteed clean build from SVN using a URL specified on the command line
  3. rm -rf build/
  4. mkdir build
  5. printf "Getting fresh source tree from SVN..."
  6. svn checkout $1 build
  7. printf "Updating templates..."
  8. ./parsetmpl.sh templates/VersionInfo.cs.tmpl >build/OpenSim/OpenSim.RegionServer/VersionInfo.cs
  9. printf "Running prebuild..."
  10. cd build
  11. mono bin/Prebuild.exe /target nant
  12. printf "Doing the build..."
  13. nant -buildfile:OpenSim.build
  14. mono bin/Prebuild.exe /target nant
  15. nant -buildfile:OpenGridServices.build