blob: 6534e7dbe706d705eee87d087d53a87b9c3024e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env bash
set -e
version="0.9.1"
url="https://github.com/eclipse/che-che4z-lsp-for-cobol/releases/download/$version/cobol-language-support-$version.vsix"
curl -LO "$url"
unzip "cobol-language-support-$version.vsix"
cat <<EOF >./cobol-language-support
#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
java "-Dline.speparator=\r\n" -jar "\$DIR/extension/server/lsp-service-cobol-$version.jar" pipeEnabled
EOF
chmod +x ./cobol-language-support
|