summaryrefslogtreecommitdiffstats
path: root/runtime/pack/dist/opt/editorconfig/tests/fetch-vim.bat
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/pack/dist/opt/editorconfig/tests/fetch-vim.bat')
-rwxr-xr-xruntime/pack/dist/opt/editorconfig/tests/fetch-vim.bat12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/pack/dist/opt/editorconfig/tests/fetch-vim.bat b/runtime/pack/dist/opt/editorconfig/tests/fetch-vim.bat
new file mode 100755
index 0000000000..c834fd7453
--- /dev/null
+++ b/runtime/pack/dist/opt/editorconfig/tests/fetch-vim.bat
@@ -0,0 +1,12 @@
+:: fetch-vim.bat: Fetch vim if necessary
+:: For use in the editorconfig-vim Appveyor build
+:: Copyright (c) 2018--2019 Chris White. All rights reserved.
+:: Licensed Apache 2.0, or any later version, at your option.
+
+:: If it's already been loaded from the cache, we're done
+if exist C:\vim\vim\vim80\vim.exe exit
+
+:: Otherwise, download and unzip it.
+appveyor DownloadFile https://github.com/cxw42/editorconfig-core-vimscript/releases/download/v0.1.0/vim.7z
+
+7z x vim.7z -oC:\vim