Skip to content
Snippets Groups Projects
Commit 7bd379d9 authored by jurgenhaas's avatar jurgenhaas
Browse files

drupal-environment#21 Clean-up recipe storage and setup

parent 24592880
No related branches found
No related tags found
1 merge request!31Merging develop into main
Pipeline #1372506 passed
...@@ -70,11 +70,10 @@ class Handler extends BaseHandler { ...@@ -70,11 +70,10 @@ class Handler extends BaseHandler {
// Directory where this plugin is being installed. // Directory where this plugin is being installed.
$pluginRoot = $installationManager->getInstallPath($this->getPackage('lakedrops/drupal-development-environment')); $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 ([ foreach ([
$webRoot . '/modules', $webRoot . '/modules',
$webRoot . '/profiles', $webRoot . '/profiles',
$webRoot . '/recipes',
$webRoot . '/themes', $webRoot . '/themes',
] as $dir) { ] as $dir) {
foreach (['contrib', 'custom'] as $subdir) { foreach (['contrib', 'custom'] as $subdir) {
...@@ -149,6 +148,9 @@ class Handler extends BaseHandler { ...@@ -149,6 +148,9 @@ class Handler extends BaseHandler {
// Git Ignore output from simpletest. // Git Ignore output from simpletest.
$this->gitIgnore('web/sites/simpletest'); $this->gitIgnore('web/sites/simpletest');
// Git Ignore recipes.
$this->gitIgnore('/recipes/');
} }
} }
/var/www/html/web/modules/custom/ /var/www/html/web/modules/custom/
/var/www/html/web/profiles/custom/ /var/www/html/web/profiles/custom/
/var/www/html/web/recipes/custom/
/var/www/html/web/themes/custom/ /var/www/html/web/themes/custom/
...@@ -61,7 +61,6 @@ ...@@ -61,7 +61,6 @@
<include> <include>
<directory>../web/modules/custom</directory> <directory>../web/modules/custom</directory>
<directory>../web/profiles/custom</directory> <directory>../web/profiles/custom</directory>
<directory>../web/recipes/custom</directory>
<directory>../web/themes/custom</directory> <directory>../web/themes/custom</directory>
{% for path in coverage %} {% for path in coverage %}
<directory>{{ path }}</directory> <directory>{{ path }}</directory>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment