Add the --recursive parameter to the git clone to get the submodules
This commit is contained in:
parent
9d4116e3c9
commit
01911f11aa
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue