diff options
author | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2019-12-29 22:26:26 +0900 |
---|---|---|
committer | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2019-12-29 23:06:13 +0900 |
commit | 2712522c63cb18afa0b69f987b05cd6d25d6cb52 (patch) | |
tree | bd07ffcb613c124f5cfd82269603d8b6c35fe68e /installer | |
parent | f53792d9192c9a7173d8b758ee26c86d85cbb94b (diff) | |
download | vim-lsp-settings-2712522c63cb18afa0b69f987b05cd6d25d6cb52.tar.gz vim-lsp-settings-2712522c63cb18afa0b69f987b05cd6d25d6cb52.tar.bz2 vim-lsp-settings-2712522c63cb18afa0b69f987b05cd6d25d6cb52.zip |
feature: support groovy
Diffstat (limited to 'installer')
-rwxr-xr-x | installer/install-groovy-language-server.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/installer/install-groovy-language-server.sh b/installer/install-groovy-language-server.sh new file mode 100755 index 0000000..6b33f55 --- /dev/null +++ b/installer/install-groovy-language-server.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +set -e + +cd $(dirname $0) + +server_dir="../servers/groovy-language-server" +[ -d $server_dir ] && rm -rf $server_dir +mkdir $server_dir && cd $server_dir + +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 |