0bebabc509
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3303 127b21dd-08f5-0310-b4b7-95ae10353056
Running Mac nightly builds: * Get a Mac, install Xcode, etc. * Check out Oolite in the same directory as the build script. The working copy is expected to be called "trunk"; this can be changed with the REPO_DIR_SETTING in build. Download libpng source and put it in deps/Cross-platform-deps/libpng. * Change config/ftp_url to something suitable, and add whatever credentials are necessary to config/ftp_credentials (including the appropriate curl command line switches, e.g. "-u user:password"). * Set appropriate path and user info in org.oolite.oolite.nightly.plist. * Copy org.oolite.oolite.nightly.plist to /Library/LaunchAgents, and change its owner and group to root:wheel. * Run sudo launchtl load /Library/LaunchAgents/org.oolite.oolite.nightly.plist To test the build, run ./build. A directory named "var" will appear alongside the build script when it is run. This contains a number of log files as well as files tracking build state. To force a build when the repository has not been updated, delete the var directory or just var/revision. BUGS: in true UNIX tradition, this script will blow up in your face if there's a space in its working path.