Skip to content

Commit

Permalink
Fix generation of .gitignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
mmunz committed Jan 30, 2023
1 parent 1d112b4 commit f526a4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: ddev-backstopjs

pre_install_actions:
- test -d ${DDEV_APPROOT}/tests/backstop || mkdir -p ${DDEV_APPROOT}/tests/backstop
- test -f "${DDEV_APPROOT}/tests/backstop/.gitignore" || echo "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/backstop/.gitignore
- grep -q "## ddev-generated" ${DDEV_APPROOT}/tests/backstop/.gitignore && echo "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/backstop/.gitignore
- test -f "${DDEV_APPROOT}/tests/backstop/.gitignore" || printf "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/backstop/.gitignore
- grep -q "## ddev-generated" ${DDEV_APPROOT}/tests/backstop/.gitignore && printf "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/backstop/.gitignore


# list of files and directories listed that are copied into project .ddev directory
Expand Down

0 comments on commit f526a4b

Please sign in to comment.