diff --git a/web/core/phpunit.xml b/assets/web/core/phpunit.xml similarity index 100% rename from web/core/phpunit.xml rename to assets/web/core/phpunit.xml diff --git a/web/sites/default/settings.php b/assets/web/sites/default/settings.php similarity index 100% rename from web/sites/default/settings.php rename to assets/web/sites/default/settings.php diff --git a/composer.json b/composer.json index a24ee64..abbf7f1 100644 --- a/composer.json +++ b/composer.json @@ -34,6 +34,15 @@ "config": { "sort-packages": true }, + "scripts": { + "copy-web-assets": "cp -vR assets/web/ web", + "post-install-cmd": [ + "@copy-web-assets" + ], + "post-update-cmd": [ + "@copy-web-assets" + ] + }, "extra": { "drupal-scaffold": { "locations": {