浏览代码

Swap clone script with before_build

Nick Babcock 7 年之前
父节点
当前提交
c44919ecd6
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      appveyor.yml

+ 6 - 6
appveyor.yml

@@ -1,7 +1,7 @@
 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
+
+configuration:
+  - Release
+
+before_build:
+- cmd: git submodule update --init --recursive