Browse Source

Force recursive clone in appveyor

Nick Babcock 7 năm trước cách đây
mục cha
commit
2e9e93d196
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      appveyor.yml

+ 7 - 1
appveyor.yml

@@ -1 +1,7 @@
-image: 'Visual Studio 2017'
+image: 'Visual Studio 2017'
+clone_script:
+- cmd: >-
+    git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
+    cd %APPVEYOR_BUILD_FOLDER%
+    git checkout -qf %APPVEYOR_REPO_COMMIT%
+    git submodule update --init --recursive