blob: 60c400ae2e94e93e76fae63ac81223ba24d5d895 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
set -e
cd $(dirname $0)
[ -d ../servers/intelephense-server ] && rm -rf ../servers/intelephense-server
mkdir ../servers/intelephense-server
cd ../servers/intelephense-server
git clone "https://github.com/bmewburn/vscode-intelephense" .
npm install
npm run compile
cat <<EOF > intelephense-server
#!/bin/sh
DIR=\$(cd \$(dirname \$0); pwd)
\$DIR/node_modules/.bin/intelephense --stdio
EOF
chmod +x intelephense-server
|