-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathinstall.yaml
More file actions
22 lines (18 loc) · 946 Bytes
/
install.yaml
File metadata and controls
22 lines (18 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: ddev-backstopjs
project_files:
- docker-compose.backstop.yaml
- backstopBuild/
- commands/backstop/backstop
- commands/host/backstop-results
post_install_actions:
- |
#ddev-description:Create the backstop test directory
test -d "${DDEV_APPROOT}/tests/backstop" || mkdir -p "${DDEV_APPROOT}/tests/backstop"
test -f "${DDEV_APPROOT}/tests/backstop/.gitignore" || printf "#ddev-generated\n**/bitmaps_test\n**/html_report\ncore\n" > "${DDEV_APPROOT}/tests/backstop/.gitignore"
grep -q "#ddev-generated" "${DDEV_APPROOT}/tests/backstop/.gitignore" && printf "#ddev-generated\n**/bitmaps_test\n**/html_report\ncore\n" > "${DDEV_APPROOT}/tests/backstop/.gitignore" || true
- |
echo "Install finished. Please restart ddev with 'ddev restart'"
echo "After that create your backstop config, e.g. 'ddev backstop init'"
ddev_version_constraint: '>= v1.24.10'
removal_actions:
- rm -rf "${DDEV_APPROOT}/tests/backstop"