aboutsummaryrefslogtreecommitdiff
path: root/installer/install-eslint-language-server.sh
blob: 05beeb33aaef73e103f24134c6955ef13cdb07ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

git clone "https://github.com/microsoft/vscode-eslint" .
git checkout release/1.9.1
npm install
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