diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-26 02:05:44 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-26 02:05:44 +0900 |
commit | fb25add36d26303f7082384a4312f9f26a7edaaa (patch) | |
tree | 3e1b3837a74cf2c50dd8d18ddcd0b17459e1f57b /installer | |
parent | 69986135088b044b6cedabd3bdec55375c280e9d (diff) | |
download | vim-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')
-rw-r--r-- | installer/install-clojure-lsp.cmd | 10 | ||||
-rw-r--r-- | installer/install-cobol-language-support.cmd | 22 | ||||
-rw-r--r-- | installer/npm_install.cmd | 2 |
3 files changed, 30 insertions, 4 deletions
diff --git a/installer/install-clojure-lsp.cmd b/installer/install-clojure-lsp.cmd index 26754b4..e92b327 100644 --- a/installer/install-clojure-lsp.cmd +++ b/installer/install-clojure-lsp.cmd @@ -1,7 +1,11 @@ @echo off +setlocal + cd %~dp0 -if exist "..\servers\clojure-lsp" rd /S /Q "..\servers\clojure-lsp" -md "..\servers\clojure-lsp" -cd "..\servers\clojure-lsp" + +set server_dir="..\servers\clojure-lsp" +if exist %server_dir% rd /Q /S "%server_dir%" +md "%server_dir%" +cd "%server_dir%" curl -L -o clojure-lsp.cmd https://github.com/snoe/clojure-lsp/releases/download/release-20191202T142318/clojure-lsp 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 + diff --git a/installer/npm_install.cmd b/installer/npm_install.cmd index d17c974..5988b37 100644 --- a/installer/npm_install.cmd +++ b/installer/npm_install.cmd @@ -4,7 +4,7 @@ if "x%1" equ "x" goto :EOF if "x%2" equ "x" goto :EOF set server_dir="..\servers\%1" -rd /Q /S "%server_dir%" 2>NUL +if exist %server_dir% rd /Q /S "%server_dir%" md "%server_dir%" cd "%server_dir%" |