From 7bd379d92047d7ddb560a4a99cd358be30450797 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Tue, 10 Dec 2024 13:30:05 +0100 Subject: [PATCH] composer/plugin/drupal-environment#21 Clean-up recipe storage and setup --- src/Handler.php | 6 ++++-- templates/tests/phpcs.files | 1 - templates/tests/phpunit.xml.dist | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Handler.php b/src/Handler.php index e004126..a7a85b2 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -70,11 +70,10 @@ class Handler extends BaseHandler { // Directory where this plugin is being installed. $pluginRoot = $installationManager->getInstallPath($this->getPackage('lakedrops/drupal-development-environment')); - // Create contrib/custom dirs for modules, profiles, recipes and themes. + // Create contrib/custom dirs for modules, profiles and themes. foreach ([ $webRoot . '/modules', $webRoot . '/profiles', - $webRoot . '/recipes', $webRoot . '/themes', ] as $dir) { foreach (['contrib', 'custom'] as $subdir) { @@ -149,6 +148,9 @@ class Handler extends BaseHandler { // Git Ignore output from simpletest. $this->gitIgnore('web/sites/simpletest'); + + // Git Ignore recipes. + $this->gitIgnore('/recipes/'); } } diff --git a/templates/tests/phpcs.files b/templates/tests/phpcs.files index 1dbabc6..1efc94e 100644 --- a/templates/tests/phpcs.files +++ b/templates/tests/phpcs.files @@ -1,4 +1,3 @@ /var/www/html/web/modules/custom/ /var/www/html/web/profiles/custom/ -/var/www/html/web/recipes/custom/ /var/www/html/web/themes/custom/ diff --git a/templates/tests/phpunit.xml.dist b/templates/tests/phpunit.xml.dist index 097d681..ee2050f 100644 --- a/templates/tests/phpunit.xml.dist +++ b/templates/tests/phpunit.xml.dist @@ -61,7 +61,6 @@ <include> <directory>../web/modules/custom</directory> <directory>../web/profiles/custom</directory> - <directory>../web/recipes/custom</directory> <directory>../web/themes/custom</directory> {% for path in coverage %} <directory>{{ path }}</directory> -- GitLab