diff --git a/CHANGELOG.md b/CHANGELOG.md index 81a2d38..cf9d788 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ All notable changes to this project will be documented in this file. - added alias annotations for 'ddev f' and 'ddev fe' commands in `commands/web/frontend` (_requires DDEV >= 1.23.4_) - updated `README.md` to mention the aliases 'ddev f' and 'ddev fe' for the frontend commands - updated `commands/web/woodoo_components/help` to list the aliases 'ddev f' and 'ddev fe' for the frontend commands +- remove existing `frontend` command to install woodoo correctly +- add replace notification in `README.md` if frontend command exist in `.ddev/commands/web/frontend` +- add post installation action with relevant next steps notifications --- diff --git a/README.md b/README.md index 2ca8e4a..e5c2df6 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ Special thanks to e3n GmbH & Co. KG for your Support! ##### Latest stable version (recommended) +Be sure, if there is an existing `.ddev/commands/web/frontend` command, it will be replaced with this woodoo frontend command. + ```shell ddev get dermatz/ddev-woodoo-buildtools-magento ``` diff --git a/install.yaml b/install.yaml index 35450ec..e7cfe95 100644 --- a/install.yaml +++ b/install.yaml @@ -1,10 +1,16 @@ name: ddev-woodoo-buildtools-magento pre_install_actions: -# https://github.com/Morgy93/ddev-gum -- if ! ddev get --installed | grep -q "Morgy93/ddev-gum"; then ddev get Morgy93/ddev-gum; fi + # https://github.com/Morgy93/ddev-gum + - if ! ddev get --installed | grep -q "Morgy93/ddev-gum"; then ddev get Morgy93/ddev-gum; fi + - if [ -f .ddev/commands/web/frontend ]; then rm .ddev/commands/web/frontend; echo "- Existing frontend command replaced."; fi project_files: -- commands/web/woodoo_components/ -- commands/web/frontend -- commands/host/frontend-update + - commands/web/woodoo_components/ + - commands/web/frontend + - commands/host/frontend-update + +post_install_actions: + - echo -n "Woodoo Buildtools installed. Run 'ddev restart' to apply changes." + - echo -n "After restart you can use 'ddev frontend' to run frontend commands." + - echo "For more information visit https://github.com/dermatz/ddev-woodoo-buildtools-magento"