diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-26 15:40:41 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-26 15:40:41 +0900 |
commit | 909dd52c959e14f16cd501a767724c35dad4fc37 (patch) | |
tree | 983bff1583cf58d6b5f6275d76ebc0e8600cfa41 /installer | |
parent | f910ed42cc4dcef83d90b33a0da01090aebbf36f (diff) | |
download | vim-lsp-settings-909dd52c959e14f16cd501a767724c35dad4fc37.tar.gz vim-lsp-settings-909dd52c959e14f16cd501a767724c35dad4fc37.tar.bz2 vim-lsp-settings-909dd52c959e14f16cd501a767724c35dad4fc37.zip |
Download unzip.exe
Diffstat (limited to 'installer')
-rw-r--r-- | installer/install-cobol-language-support.cmd | 9 | ||||
-rw-r--r-- | installer/install-kotlin-language-server.cmd | 9 | ||||
-rw-r--r-- | installer/install-omnisharp-lsp.cmd | 9 |
3 files changed, 6 insertions, 21 deletions
diff --git a/installer/install-cobol-language-support.cmd b/installer/install-cobol-language-support.cmd index 76c1a2c..39959a1 100644 --- a/installer/install-cobol-language-support.cmd +++ b/installer/install-cobol-language-support.cmd @@ -1,15 +1,10 @@ @echo off
-where unzip1 2>NUL
-if %ERRORLEVEL% neq 0 (
- echo unzip command required
- exit /b 1
-)
-
setlocal
cd /d %~dp0
+set installer_dir=%cd%
set server_dir=..\servers\cobol-language-support
if exist %server_dir% rd /Q /S "%server_dir%"
md "%server_dir%"
@@ -18,7 +13,7 @@ cd /d "%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"
+call %installer_dir%\run_unzip "cobol-language-support-%version%.vsix"
echo @echo off ^
diff --git a/installer/install-kotlin-language-server.cmd b/installer/install-kotlin-language-server.cmd index 6e5fae5..11d141c 100644 --- a/installer/install-kotlin-language-server.cmd +++ b/installer/install-kotlin-language-server.cmd @@ -1,22 +1,17 @@ @echo off
-where unzip1 2>NUL
-if %ERRORLEVEL% neq 0 (
- echo unzip command required
- exit /b 1
-)
-
setlocal
cd /d %~dp0
+set installer_dir=%cd%
set server_dir=..\servers\kotlin-language-server
if exist %server_dir% rd /Q /S "%server_dir%"
md "%server_dir%"
cd /d "%server_dir%"
curl -L -o server.zip "https://github.com/fwcd/kotlin-language-server/releases/download/0.5.2/server.zip"
-unzip server.zip
+call %installer_dir%\run_unzip server.zip
del server.zip
echo @echo off ^
diff --git a/installer/install-omnisharp-lsp.cmd b/installer/install-omnisharp-lsp.cmd index 828a3b0..dd4efac 100644 --- a/installer/install-omnisharp-lsp.cmd +++ b/installer/install-omnisharp-lsp.cmd @@ -1,22 +1,17 @@ @echo off
-where unzip1 2>NUL
-if %ERRORLEVEL% neq 0 (
- echo unzip command required
- exit /b 1
-)
-
setlocal
cd /d %~dp0
+set installer_dir=%cd%
set server_dir=..\servers\omnisharp-lsp
if exist %server_dir% rd /Q /S "%server_dir%"
md "%server_dir%"
cd /d "%server_dir%"
curl -L -o omnisharp-win-x64.zip "https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.34.9/omnisharp-win-x64.zip"
-unzip omnisharp-win-x64.zip
+call %installer_dir%\run_unzip omnisharp-win-x64.zip
del omnisharp-win-x64.zip
echo @echo off ^
|