generated from ddev/ddev-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.yaml
20 lines (17 loc) · 756 Bytes
/
install.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: ddev-tinker
# List of files and directories that are copied into the global .ddev directory
# DDEV environment variables can be interpolated into these filenames
project_files:
- commands/web/tinker
- commands/host/get-php-manual
# DDEV environment variables can be interpolated into these actions
post_install_actions:
- |
#ddev-nodisplay
#ddev-description:Downloading PHP core manual
ddev get-php-manual
# Shell actions that can be done during removal of the add-on
removal_actions:
- rm ./homeadditions/.local/share/psysh/php_manual.sqlite
# We are changing to "project-level" command, so delete the global command if it exists.
- if grep "#ddev-generated" ~/.ddev/commands/web/tinker 2>/dev/null; then rm ~/.ddev/commands/web/tinker; fi