Add the --recursive parameter to the git clone to get the submodules

This commit is contained in:
Tobias van Beek 2015-03-25 11:10:47 +01:00
parent 9d4116e3c9
commit 01911f11aa

View file

@ -54,7 +54,7 @@ class RemoteGitBuild extends Build
*/
protected function cloneByHttp(Builder $builder, $cloneTo)
{
$cmd = 'git clone ';
$cmd = 'git clone --recursive ';
$depth = $builder->getConfig('clone_depth');
@ -84,7 +84,7 @@ class RemoteGitBuild extends Build
}
// Do the git clone:
$cmd = 'git clone ';
$cmd = 'git clone --recursive ';
$depth = $builder->getConfig('clone_depth');