mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-06 03:15:34 +01:00
chore: rename drupal-project to drupal
This commit is contained in:
parent
b3f61a43da
commit
c68bca3d56
7 changed files with 8 additions and 8 deletions
|
@ -100,9 +100,9 @@ final class CreateListOfFilesToGenerate
|
|||
);
|
||||
}
|
||||
|
||||
if ('drupal-project' === Arr::get($configurationData, 'type')) {
|
||||
if ('drupal' === Arr::get($configurationData, 'type')) {
|
||||
// Add a Drupal version of phpunit.xml.dist.
|
||||
$filesToGenerate[] = new TemplateFile(data: 'drupal-project/phpunit.xml.dist', name: 'phpunit.xml.dist');
|
||||
$filesToGenerate[] = new TemplateFile(data: 'drupal/phpunit.xml.dist', name: 'phpunit.xml.dist');
|
||||
}
|
||||
|
||||
if (Arr::get($configurationData, 'experimental.createGitHubActionsConfiguration', false) === true) {
|
||||
|
|
|
@ -54,7 +54,7 @@ final class Config
|
|||
#[Assert\NotBlank]
|
||||
public string $name;
|
||||
|
||||
#[Assert\Choice(choices: ['drupal-project', 'fractal', 'laravel', 'php-library', 'vuejs'])]
|
||||
#[Assert\Choice(choices: ['drupal', 'fractal', 'laravel', 'php-library', 'vuejs'])]
|
||||
#[Assert\NotBlank]
|
||||
public string $type;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue