Skip to content

Commit 2d266b1

Browse files
committed
feat: phpactor
1 parent 1472202 commit 2d266b1

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "phpactor",
3+
"id": "phpactor",
4+
"version": "1.0.0",
5+
"description": "Installs the phpactor language server for php.",
6+
"options": {
7+
"version": {
8+
"type": "string",
9+
"description": "The phpactor version to install.",
10+
"default": "master"
11+
}
12+
}
13+
}

src/phpactor/install.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
set -ex
4+
5+
PHPACTOR_INSTALL_DIR="/opt/phpactor"
6+
7+
git clone -b "${VERSION}" -- https://github.com/phpactor/phpactor "${PHPACTOR_INSTALL_DIR}"
8+
9+
cd "${PHPACTOR_INSTALL_DIR}"
10+
11+
composer install --no-dev

0 commit comments

Comments
 (0)