Update cobol to 2.1.1

This commit is contained in:
Vadim Lazebny
2024-03-09 13:04:28 +02:00
committed by mattn
parent de8c23c294
commit 78c8622072

View File

@@ -2,8 +2,9 @@
set -e
version="0.9.1"
url="https://github.com/eclipse/che-che4z-lsp-for-cobol/releases/download/$version/cobol-language-support-$version.vsix"
version="2.1.1"
platform="linux-x64"
url="https://github.com/eclipse/che-che4z-lsp-for-cobol/releases/download/$version/cobol-language-support-$platform-$version.vsix"
filename="cobol-language-support-$version.vsix"
curl -L "$url" -o "$filename"
unzip "$filename"
@@ -12,7 +13,7 @@ rm "$filename"
cat <<EOF >./cobol-language-support
#!/bin/sh
DIR=\$(cd \$(dirname \$0); pwd)
java "-Dline.speparator=\r\n" -jar "\$DIR/extension/server/lsp-service-cobol-$version.jar" pipeEnabled
java "-Dline.speparator=\r\n" -jar "\$DIR/extension/server/jar/server.jar" pipeEnabled
EOF
chmod +x ./cobol-language-support