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

set -e

git clone --depth=1 https://github.com/prominic/groovy-language-server .
./gradlew build

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

DIR=\$(cd \$(dirname \$0); pwd)
java -jar \$DIR/build/libs/groovy-language-server-all.jar
EOF

chmod +x groovy-language-server