blob: 8de6d537d5addfd4faf09b662019a590884c23a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
set -e
cd $(dirname $0)
[ -d ../servers/emmylua-ls ] && rm -rf ../servers/emmylua-ls
mkdir ../servers/emmylua-ls
cd ../servers/emmylua-ls
curl -L -o EmmyLua-LS-all.jar 'https://ci.appveyor.com/api/buildjobs/54yf9rjvj49494pd/artifacts/EmmyLua-LS%2Fbuild%2Flibs%2FEmmyLua-LS-all.jar'
cat <<EOF > emmylua-ls
#!/bin/sh
DIR=\$(cd \$(dirname \$0); pwd)
java -cp \$DIR/EmmyLua-LS-all.jar com.tang.vscode.MainKt
EOF
chmod +x emmylua-ls
|