Fix get submodule on build

Former-commit-id: 6f39cadd9ec71c570e1515a34dfeb8b670c1e52a
This commit is contained in:
Forest Anderson 2019-04-29 02:23:33 +00:00
parent b930043041
commit 7f881421d8
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ before_script:
git pull "https://gitlab.com/${SOURCE_PROJECT}/veloren.git" "${SOURCE_BRANCH}";
fi;
- git submodule sync --recursive
- git submodule update --remote --recursive
- git submodule update --init --recursive --depth 20
- git status
- if [ -d target ]; then
ls -la target;

2
.gitmodules vendored
View File

@ -1,4 +1,4 @@
[submodule "assets/voxygen"]
path = assets/voxygen
url = https://gitlab.com/veloren/fresh-assets/voxygen.git
url = ../../veloren/fresh-assets/voxygen.git
shallow = true