From 963e16870b6a902378dede3a2b78a2be5a11ee0c Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 6 Sep 2017 23:47:51 +0100 Subject: [PATCH] Try and set up Vader only if needed too --- .appveyor.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 2983f6a9..45322804 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -19,10 +19,13 @@ install: -OutFile C:\rt.zip [IO.Compression.ZipFile]::ExtractToDirectory('C:\rt.zip', 'C:\vim') } - - git clone https://github.com/junegunn/vader.vim C:\vader - - cd C:\vader - - git checkout -qf c6243dd81c98350df4dec608fa972df98fa2a3af - - cd C:\ + # Clone Vader and check out the commit we want + - ps: >- + if (!(Test-Path -Path C:\vader)){ + git clone https://github.com/junegunn/vader.vim C:\vader + cd C:\vader + git checkout -qf c6243dd81c98350df4dec608fa972df98fa2a3af + } test_script: - cd C:\projects\ale