aboutsummaryrefslogtreecommitdiff
path: root/installer/install-apex-jorje-lsp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/install-apex-jorje-lsp.sh')
-rwxr-xr-xinstaller/install-apex-jorje-lsp.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/installer/install-apex-jorje-lsp.sh b/installer/install-apex-jorje-lsp.sh
new file mode 100755
index 0000000..b6f20f9
--- /dev/null
+++ b/installer/install-apex-jorje-lsp.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+curl -o apex-jorje-lsp.jar "https://github.com/forcedotcom/salesforcedx-vscode/blob/develop/packages/salesforcedx-vscode-apex/out/apex-jorje-lsp.jar?raw=true"
+
+cat <<EOF >apex-jorje-lsp
+
+DIR=\$(cd \$(dirname \$0); pwd)
+java -jar \$DIR/apex-jorje-lsp.jar %%* ^
+EOF
+
+chmod +x apex-jorje-lsp