瀏覽代碼

Force recursive clone in appveyor

Nick Babcock 7 年之前
父節點
當前提交
2e9e93d196
共有 1 個文件被更改,包括 7 次插入1 次删除
  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