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

set -e

version="0.9.1"
url=https://dl.bintray.com/lsp4xml/releases/org/lsp4xml/org.eclipse.lsp4xml/${version}/org.eclipse.lsp4xml-${version}-uber.jar

curl -LO "$url"

cat <<EOF >lsp4xml
#!/bin/sh

DIR=\$(cd \$(dirname \$0); pwd)
java -jar \$DIR/org.eclipse.lsp4xml-${version}-uber.jar
EOF

chmod +x lsp4xml