diff options
Diffstat (limited to 'installer/install-eslint-language-server.sh')
-rwxr-xr-x | installer/install-eslint-language-server.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/installer/install-eslint-language-server.sh b/installer/install-eslint-language-server.sh index df6e4f9..b188e9f 100755 --- a/installer/install-eslint-language-server.sh +++ b/installer/install-eslint-language-server.sh @@ -1,16 +1,16 @@ #!/usr/bin/env bash -git clone "https://github.com/microsoft/vscode-eslint" . -git checkout release/2.0.15 -npm install -npm --prefix ./server install ./server -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 |