aboutsummaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-31 23:28:34 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-31 23:28:34 +0900
commit8f13ef79e66d9e593fbcf98256873b6d7c0fcd2c (patch)
tree07cc62e840e5f4f9edaab83c633c4d4b8ec2bdf1 /installer
parent0de3365372e86bfba9296b1254266161d4ba44ff (diff)
downloadvim-lsp-settings-8f13ef79e66d9e593fbcf98256873b6d7c0fcd2c.tar.gz
vim-lsp-settings-8f13ef79e66d9e593fbcf98256873b6d7c0fcd2c.tar.bz2
vim-lsp-settings-8f13ef79e66d9e593fbcf98256873b6d7c0fcd2c.zip
Add apex-jorje-lsp
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