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

set -e

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

cat <<EOF >groovy-language-server
#!/bin/sh

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

chmod +x groovy-language-server