aboutsummaryrefslogtreecommitdiff
path: root/installer/install-emmylua-ls.cmd
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 02:03:17 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 02:03:17 +0900
commita8c6ac553532166b9515309976172a73ff148b2f (patch)
treed632205ed28974538b06fa1faa80a11e44cf1977 /installer/install-emmylua-ls.cmd
parentfabdd6ba6cccd4d63052c6ca06d783dabd777111 (diff)
downloadvim-lsp-settings-a8c6ac553532166b9515309976172a73ff148b2f.tar.gz
vim-lsp-settings-a8c6ac553532166b9515309976172a73ff148b2f.tar.bz2
vim-lsp-settings-a8c6ac553532166b9515309976172a73ff148b2f.zip
Add installer for emmylua-ls
Diffstat (limited to 'installer/install-emmylua-ls.cmd')
-rw-r--r--installer/install-emmylua-ls.cmd14
1 files changed, 14 insertions, 0 deletions
diff --git a/installer/install-emmylua-ls.cmd b/installer/install-emmylua-ls.cmd
new file mode 100644
index 0000000..afbe34e
--- /dev/null
+++ b/installer/install-emmylua-ls.cmd
@@ -0,0 +1,14 @@
+@echo off
+
+cd %~dp0
+if exist "..\servers\emmylua-ls" rd /S /Q "..\servers\emmylua-ls"
+md "..\servers\emmylua-ls"
+cd "..\servers\emmylua-ls"
+curl -L -o EmmyLua-LS-all.jar "https://ci.appveyor.com/api/buildjobs/54yf9rjvj49494pd/artifacts/EmmyLua-LS%%2Fbuild%%2Flibs%%2FEmmyLua-LS-all.jar"
+
+echo @echo off ^
+
+java -cp %%~dp0/EmmyLua-LS-all.jar com.tang.vscode.MainKt ^
+
+> emmylua-ls.cmd
+