Skip to content

Commit 311758c

Browse files
rfayjustafish
andauthored
fix: make removal smoother and successful (#26)
Co-authored-by: Sally Young <git@justa.fish>
1 parent 90582df commit 311758c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

install.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ post_install_actions:
3030
- cd ../core && ddev yarn
3131

3232
removal_actions:
33-
- rm core/phpunit.xml
34-
- rm -rf test_output
35-
- rm core/.env
36-
- rm .gitignore
33+
- |
34+
for item in ../core/phpunit.xml ../core/.env ../.gitignore; do
35+
if grep '#ddev-generated' ${item} >/dev/null; then
36+
rm -f ${item}
37+
fi
38+
done
39+
- rm -rf ../test_output

0 commit comments

Comments
 (0)