aboutsummaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 02:41:07 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 02:41:07 +0900
commitdf210fb8f3f89102227cb36dcf03f55232b99604 (patch)
treef63fcdbceada7ba559f346360617e24b4e72a9f7 /installer
parent0ef51e93ea3d7a3444c853edc3ed3dcf5692beb8 (diff)
downloadvim-lsp-settings-df210fb8f3f89102227cb36dcf03f55232b99604.tar.gz
vim-lsp-settings-df210fb8f3f89102227cb36dcf03f55232b99604.tar.bz2
vim-lsp-settings-df210fb8f3f89102227cb36dcf03f55232b99604.zip
Add installer for intelephense-server
Diffstat (limited to 'installer')
-rw-r--r--installer/install-intelephense-server.cmd16
1 files changed, 16 insertions, 0 deletions
diff --git a/installer/install-intelephense-server.cmd b/installer/install-intelephense-server.cmd
new file mode 100644
index 0000000..efa690e
--- /dev/null
+++ b/installer/install-intelephense-server.cmd
@@ -0,0 +1,16 @@
+@echo off
+
+cd %~dp0
+if exist "..\servers\intelephense-server" rd /S /Q "..\servers\intelephense-server"
+md "..\servers\intelephense-server"
+cd "..\servers\intelephense-server"
+git clone "https://github.com/bmewburn/vscode-intelephense" .
+
+call npm install
+
+echo @echo off ^
+
+call %%~dp0\node_modules\.bin\intelephense.cmd %%* ^
+
+> intelephense-server.cmd
+