aboutsummaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rw-r--r--installer/install-apex-jorje-lsp.cmd9
-rwxr-xr-xinstaller/install-apex-jorje-lsp.sh11
2 files changed, 20 insertions, 0 deletions
diff --git a/installer/install-apex-jorje-lsp.cmd b/installer/install-apex-jorje-lsp.cmd
new file mode 100644
index 0000000..977f56c
--- /dev/null
+++ b/installer/install-apex-jorje-lsp.cmd
@@ -0,0 +1,9 @@
+@echo off
+
+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"
+
+echo @echo off ^
+
+java -jar %%~dp0\apex-jorje-lsp.jar %%* ^
+
+> apex-jorje-lsp.cmd
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