aboutsummaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rw-r--r--installer/install-eslint-language-server.cmd27
-rwxr-xr-xinstaller/install-eslint-language-server.sh3
2 files changed, 16 insertions, 14 deletions
diff --git a/installer/install-eslint-language-server.cmd b/installer/install-eslint-language-server.cmd
index 846638d..ee71b53 100644
--- a/installer/install-eslint-language-server.cmd
+++ b/installer/install-eslint-language-server.cmd
@@ -1,13 +1,14 @@
-@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
+
+git clone "https://github.com/microsoft/vscode-eslint" .
+git checkout release/2.0.15
+call npm install
+call npm --prefix ./server install ./server
+call npm run compile:server
+
+echo @echo off ^
+
+node %%~dp0\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..df6e4f9 100755
--- a/installer/install-eslint-language-server.sh
+++ b/installer/install-eslint-language-server.sh
@@ -1,8 +1,9 @@
#!/usr/bin/env bash
git clone "https://github.com/microsoft/vscode-eslint" .
-git checkout release/1.9.1
+git checkout release/2.0.15
npm install
+npm --prefix ./server install ./server
npm run compile:server
cat <<EOF >eslint-language-server