Fix the installer when using "other" #190
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
drupal.root
is not set when selecting the "other" option during the-build installation. This results in the following error:drupal.root
during installation. Theswitch
structure could be simplified, but this method leaves room for other properties to be set for each environments if needed.setup-web-root
target to check for acore
subdirectory, because DDEV will create whatever it is configured to use as itsdocroot
if it doesn't already exist, and it will addsettings.ddev.php
there. Also, we remove the new docroot before moving the old one.Testing
composer create-project palantirnet/drupal-skeleton example dev-develop --no-interaction
cd example
composer require --dev palantirnet/the-build:dev-fix-installer-for-other