- If the submodule doesn't eixst yet, then submodule update is called
- If the submodule points at the right commit then nothing happens.
- If the submodule is pointed at any other commit, this script will attempt to rebase.
- If the rebase fails (for any reason!) then the local HEAD is used rather than just switching to whatever upstream uses.
All automatic updating is disabled by default.
Set submodule.update=true in private.properties to enable.
Change-Id: I9f370a33001bbfea5079687a41cc9cbfa07eea33
Reviewed-on: http://gerrit.dmdirc.com/326
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
If submodule.noupdate=true is defined in private.properties, then the user is responsible for updating submodules themselves rather than having it handled automatically.
Fix ant complaining about modules/plugins/lib not existing if it hasn't been checked out yet.
Change-Id: Iba429fcdee0d4b9e546101c1a28dffb32ffbb842
Reviewed-on: http://gerrit.dmdirc.com/325
Tested-by: Shane Mc Cormack <shane@dmdirc.com>
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
On unix building will automatically substitute the correct SVN Revision :D
(On windows it will just leave it as the default, so we should probably change this to something like -1 or so to make it obvious)
Nightly Build no longer tries to substitue RELEASE_DATE
git-svn-id: http://svn.dmdirc.com/trunk@361100569f92-eb28-0410-84fd-f71c24880f
build.xml will now automatically try and run build-plugins on -post-compile
=> build-plugins will try to run build-plugins_bash and build-plugins_ant-contrib
=> build-plugins_ant-contrib will only run if ant-contrib was found where libs.antcontrib points
=> build-plugins_bash will only run if ant-contrib was not found where libs.antcontrib points, and /bin/bash exists
git-svn-id: http://svn.dmdirc.com/trunk@266400569f92-eb28-0410-84fd-f71c24880f