Skip to content
Snippets Groups Projects
Commit 6135d79b authored by jurgenhaas's avatar jurgenhaas
Browse files

#20

parent 7a3b10a7
No related branches found
No related tags found
1 merge request!21Merging develop into main
......@@ -70,14 +70,18 @@ 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 and themes.
// Create contrib/custom dirs for modules, profiles, recipes and themes.
foreach ([
$webRoot . '/modules',
$webRoot . '/profiles',
$webRoot . '/recipes',
$webRoot . '/themes',
] as $dir) {
foreach (['contrib', 'custom'] as $subdir) {
$path = $dir . '/' . $subdir;
if ($subdir === 'contrib') {
$this->gitIgnore($path);
}
if (!$fs->exists($path)) {
$fs->mkdir($path, 0775);
}
......
/var/www/html/web/modules/custom/
/var/www/html/web/profiles/custom/
/var/www/html/web/recipes/custom/
/var/www/html/web/themes/custom/
......@@ -61,6 +61,7 @@
<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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment