aboutsummaryrefslogtreecommitdiff
path: root/installer/install-eslint-language-server.sh
blob: df6e4f9dc203d87d29b6a8b3c259ac6ce5175028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

cat <<EOF >eslint-language-server
#!/usr/bin/env bash

DIR=\$(cd \$(dirname \$0); pwd)
node \$DIR/server/out/eslintServer.js --stdio \$*
EOF

chmod +x eslint-language-server