aboutsummaryrefslogtreecommitdiff
path: root/installer/install-cobol-language-support.cmd
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-26 02:05:44 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-26 02:05:44 +0900
commitfb25add36d26303f7082384a4312f9f26a7edaaa (patch)
tree3e1b3837a74cf2c50dd8d18ddcd0b17459e1f57b /installer/install-cobol-language-support.cmd
parent69986135088b044b6cedabd3bdec55375c280e9d (diff)
downloadvim-lsp-settings-fb25add36d26303f7082384a4312f9f26a7edaaa.tar.gz
vim-lsp-settings-fb25add36d26303f7082384a4312f9f26a7edaaa.tar.bz2
vim-lsp-settings-fb25add36d26303f7082384a4312f9f26a7edaaa.zip
Add installer for cobol-language-support
Diffstat (limited to 'installer/install-cobol-language-support.cmd')
-rw-r--r--installer/install-cobol-language-support.cmd22
1 files changed, 22 insertions, 0 deletions
diff --git a/installer/install-cobol-language-support.cmd b/installer/install-cobol-language-support.cmd
new file mode 100644
index 0000000..c43832b
--- /dev/null
+++ b/installer/install-cobol-language-support.cmd
@@ -0,0 +1,22 @@
+@echo off
+
+setlocal
+
+cd %~dp0
+
+set server_dir=..\servers\cobol-language-support
+if exist %server_dir% rd /Q /S "%server_dir%"
+md "%server_dir%"
+cd "%server_dir%"
+
+set version=0.9.1
+set url=https://github.com/eclipse/che-che4z-lsp-for-cobol/releases/download/%version%/cobol-language-support-%version%.vsix
+curl -LO "%url%"
+unzip "cobol-language-support-%version%.vsix"
+
+echo @echo off ^
+
+java "-Dline.speparator=\r\n" -jar "%%~dp0\extension\server\lsp-service-cobol-%version%.jar" pipeEnabled ^
+
+> cobol-language-support.cmd
+