Skip to content

Commit

Permalink
feat: phpactor
Browse files Browse the repository at this point in the history
  • Loading branch information
axelrindle committed Dec 30, 2024
1 parent 1472202 commit 2d266b1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/phpactor/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "phpactor",
"id": "phpactor",
"version": "1.0.0",
"description": "Installs the phpactor language server for php.",
"options": {
"version": {
"type": "string",
"description": "The phpactor version to install.",
"default": "master"
}
}
}
11 changes: 11 additions & 0 deletions src/phpactor/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

set -ex

PHPACTOR_INSTALL_DIR="/opt/phpactor"

git clone -b "${VERSION}" -- https://github.com/phpactor/phpactor "${PHPACTOR_INSTALL_DIR}"

cd "${PHPACTOR_INSTALL_DIR}"

composer install --no-dev

0 comments on commit 2d266b1

Please sign in to comment.