diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-19 17:45:59 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-19 17:45:59 +0900 |
commit | e847384d3f66464a794b66b48a2e4a5fe86a6dbb (patch) | |
tree | 688d597db00d55853bcf13d7f08f8a7336f8bc9a /installer | |
parent | 0c85616e930f2d16da1162ed6d189ebc00426244 (diff) | |
download | vim-lsp-settings-e847384d3f66464a794b66b48a2e4a5fe86a6dbb.tar.gz vim-lsp-settings-e847384d3f66464a794b66b48a2e4a5fe86a6dbb.tar.bz2 vim-lsp-settings-e847384d3f66464a794b66b48a2e4a5fe86a6dbb.zip |
Fix scripts
Diffstat (limited to 'installer')
-rw-r--r-- | installer/install-omnisharp-lsp.cmd (renamed from installer/install-omnisharp.cmd) | 8 | ||||
-rwxr-xr-x | installer/install-omnisharp-lsp.sh (renamed from installer/install-omnisharp.sh) | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/installer/install-omnisharp.cmd b/installer/install-omnisharp-lsp.cmd index 38b6dc9..253936a 100644 --- a/installer/install-omnisharp.cmd +++ b/installer/install-omnisharp-lsp.cmd @@ -1,9 +1,9 @@ @echo off cd %~dp0 -if exist "..\servers\omnisharp" rd /S /Q "..\servers\omnisharp" -md "..\servers\omnisharp" -cd "..\servers\omnisharp" +if exist "..\servers\omnisharp-lsp" rd /S /Q "..\servers\omnisharp-lsp" +md "..\servers\omnisharp-lsp" +cd "..\servers\omnisharp-lsp" 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 del omnisharp-win-x64.zip @@ -12,4 +12,4 @@ echo @echo off ^ %%~dp0\omnisharp.exe %%* ^ -> omnisharp-run.cmd +> omnisharp-lsp.cmd diff --git a/installer/install-omnisharp.sh b/installer/install-omnisharp-lsp.sh index ea8916c..7f2c35c 100755 --- a/installer/install-omnisharp.sh +++ b/installer/install-omnisharp-lsp.sh @@ -3,18 +3,18 @@ set -e cd $(dirname $0) -[ -d ../servers/omnisharp ] && rm -rf ../servers/omnisharp -mkdir ../servers/omnisharp -cd ../servers/omnisharp +[ -d ../servers/omnisharp-lsp ] && rm -rf ../servers/omnisharp-lsp +mkdir ../servers/omnisharp-lsp +cd ../servers/omnisharp-lsp curl -L -o omnisharp-linux-x64.zip https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.34.9/omnisharp-linux-x64.zip unzip omnisharp-linux-x64.zip rm omnisharp-linux-x64.zip -cat <<EOF > omnisharp-run +cat <<EOF > omnisharp-lsp #!/bin/sh DIR=\$(cd \$(dirname \$0); pwd) \$DIR/run \$* EOF -chmod +x omnisharp-run +chmod +x omnisharp-lsp |