aboutsummaryrefslogtreecommitdiff
path: root/installer/install-eslint-language-server.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'installer/install-eslint-language-server.cmd')
-rw-r--r--installer/install-eslint-language-server.cmd25
1 files changed, 12 insertions, 13 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
+