mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vpm: force v install
to clone git submodules too (#15487)
This commit is contained in:
parent
47e75c68a9
commit
8db945ec52
@ -21,11 +21,11 @@ const (
|
|||||||
supported_vcs_systems = ['git', 'hg']
|
supported_vcs_systems = ['git', 'hg']
|
||||||
supported_vcs_folders = ['.git', '.hg']
|
supported_vcs_folders = ['.git', '.hg']
|
||||||
supported_vcs_update_cmds = {
|
supported_vcs_update_cmds = {
|
||||||
'git': 'git pull'
|
'git': 'git pull --recurse-submodules' // pulling with `--depth=1` leads to conflicts, when the upstream is more than 1 commit newer
|
||||||
'hg': 'hg pull --update'
|
'hg': 'hg pull --update'
|
||||||
}
|
}
|
||||||
supported_vcs_install_cmds = {
|
supported_vcs_install_cmds = {
|
||||||
'git': 'git clone --depth=1'
|
'git': 'git clone --depth=1 --recursive --shallow-submodules'
|
||||||
'hg': 'hg clone'
|
'hg': 'hg clone'
|
||||||
}
|
}
|
||||||
supported_vcs_outdated_steps = {
|
supported_vcs_outdated_steps = {
|
||||||
|
Loading…
Reference in New Issue
Block a user