aboutsummaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-25 22:07:40 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-25 22:07:40 +0900
commit4b216f58f1d1718219164f617111022a38f1cba7 (patch)
tree6bb2fa8d483c391b1c9e23618c6678f90065e777 /installer
parent1ae6dff3ff3057967f602fc3a692c6f454d1a46d (diff)
parent4fe1667d731e2869ac7e005cfd72fba3f625fdc1 (diff)
downloadvim-lsp-settings-4b216f58f1d1718219164f617111022a38f1cba7.tar.gz
vim-lsp-settings-4b216f58f1d1718219164f617111022a38f1cba7.tar.bz2
vim-lsp-settings-4b216f58f1d1718219164f617111022a38f1cba7.zip
Merge branch 'master' of git://github.com/mattn/vim-lsp-settings
Diffstat (limited to 'installer')
-rw-r--r--installer/install-eslint-language-server.cmd25
-rwxr-xr-xinstaller/install-eslint-language-server.sh11
-rw-r--r--installer/install-rust-analyzer.cmd2
-rwxr-xr-xinstaller/install-rust-analyzer.sh2
4 files changed, 20 insertions, 20 deletions
diff --git a/installer/install-eslint-language-server.cmd b/installer/install-eslint-language-server.cmd
index 846638d..1e3608f 100644
--- a/installer/install-eslint-language-server.cmd
+++ b/installer/install-eslint-language-server.cmd
@@ -1,13 +1,12 @@
-@echo off
-
-git clone "https://github.com/microsoft/vscode-eslint" .
-git checkout release/1.9.1
-call npm install
-call npm run compile:server
-
-echo @echo off ^
-
-node %%~dp0\server\out\eslintServer.js --stdio %%* ^
-
-> eslint-language-server.cmd
-
+@echo off
+
+curl -L -o "vscode-eslint.vsix" "https://github.com/microsoft/vscode-eslint/releases/download/release%2F2.1.0-next.1/vscode-eslint-2.1.0.vsix"
+call "%~dp0\run_unzip.cmd" vscode-eslint.vsix
+del vscode-eslint.vsix
+
+echo @echo off ^
+
+node %%~dp0\extension\server\out\eslintServer.js --stdio %%* ^
+
+> eslint-language-server.cmd
+
diff --git a/installer/install-eslint-language-server.sh b/installer/install-eslint-language-server.sh
index 05beeb3..b188e9f 100755
--- a/installer/install-eslint-language-server.sh
+++ b/installer/install-eslint-language-server.sh
@@ -1,15 +1,16 @@
#!/usr/bin/env bash
-git clone "https://github.com/microsoft/vscode-eslint" .
-git checkout release/1.9.1
-npm install
-npm run compile:server
+url="https://github.com/microsoft/vscode-eslint/releases/download/release%2F2.1.0-next.1/vscode-eslint-2.1.0.vsix"
+asset="vscode-eslint.vsix"
+curl -L "$url" -o "$asset"
+unzip "$asset"
+rm "$asset"
cat <<EOF >eslint-language-server
#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
-node \$DIR/server/out/eslintServer.js --stdio \$*
+node \$DIR/extension/server/out/eslintServer.js --stdio \$*
EOF
chmod +x eslint-language-server
diff --git a/installer/install-rust-analyzer.cmd b/installer/install-rust-analyzer.cmd
index f204545..083bba2 100644
--- a/installer/install-rust-analyzer.cmd
+++ b/installer/install-rust-analyzer.cmd
@@ -1,5 +1,5 @@
@echo off
-curl -L -o rust-analyzer-windows.exe "https://github.com/rust-analyzer/rust-analyzer/releases/download/2020-02-18/rust-analyzer-windows.exe"
+curl -L -o rust-analyzer-windows.exe "https://github.com/rust-analyzer/rust-analyzer/releases/download/2020-02-24/rust-analyzer-windows.exe"
move rust-analyzer-windows.exe rust-analyzer.exe
diff --git a/installer/install-rust-analyzer.sh b/installer/install-rust-analyzer.sh
index fc0afb1..fa5a291 100755
--- a/installer/install-rust-analyzer.sh
+++ b/installer/install-rust-analyzer.sh
@@ -13,7 +13,7 @@ darwin)
;;
esac
-version="2020-02-18"
+version="2020-02-24"
curl -L -o ra_lsp_server-$platform "https://github.com/rust-analyzer/rust-analyzer/releases/download/$version/rust-analyzer-$platform"
mv rust-analyzer-$platform rust-analyzer