forked from justafish/ddev-drupal-core-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.yaml
38 lines (34 loc) · 1.25 KB
/
install.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Details about the install.yaml file are at https://ddev.readthedocs.io/en/latest/users/extend/additional-services/#sections-and-features-of-ddev-get-add-on-installyaml
name: ddev-drupal-core-dev
project_files:
- config.ddev-drupal-core-dev.yaml
- web-build/Dockerfile.ddev-drupal-core-dev
- docker-compose.core-dev-selenium.yaml
- core-dev/phpunit-chrome.xml
- commands/web/drupal
- commands/web/phpunit
- commands/web/nightwatch
- core-dev/gitignore
- core-dev/.env
- core-dev/src/Command/AdminLoginCommand.php
- core-dev/src/Command/BootCommand.php
- core-dev/src/Command/CacheCommand.php
- core-dev/src/Command/TestCommand.php
- core-dev/src/Command/TestBrowserCommand.php
- core-dev/src/Command/InstallCommand.php
post_install_actions:
- cp core-dev/phpunit-chrome.xml ../core/phpunit.xml
- perl -pi -e "s|DRUPAL_CORE_DDEV_URL|$DDEV_PRIMARY_URL|g" ../core/phpunit.xml
- cp core-dev/.env ../core/.env
- cp core-dev/gitignore ../.gitignore
- mkdir -p ../test_output
- chmod +w ../test_output
- cd ../core && ddev yarn
removal_actions:
- |
for item in ../core/phpunit.xml ../core/.env ../.gitignore; do
if grep '#ddev-generated' ${item} >/dev/null; then
rm -f ${item}
fi
done
- rm -rf ../test_output