Skip to content

Commit 899b5db

Browse files
committed
Extend the core install command to remove settings first.
1 parent 0e62fac commit 899b5db

File tree

3 files changed

+3
-39
lines changed

3 files changed

+3
-39
lines changed

commands/web/drupal

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@
1414
*/
1515

1616
use Drupal\Core\Command\GenerateTheme;
17-
use Drupal\Core\Command\InstallCommand;
1817
use Symfony\Component\Console\Application;
19-
use DrupalCoreDev\Command\CacheCommand;
2018
use DrupalCoreDev\Command\AdminLoginCommand;
19+
use DrupalCoreDev\Command\CacheCommand;
20+
use DrupalCoreDev\Command\InstallCommand;
2121
use DrupalCoreDev\Command\TestCommand;
2222
use DrupalCoreDev\Command\TestBrowserCommand;
23-
use DrupalCoreDev\Command\UninstallCommand;
2423

2524
if (PHP_SAPI !== 'cli') {
2625
return;
@@ -38,6 +37,5 @@ $application->add(new CacheCommand($loader));
3837
$application->add(new AdminLoginCommand($loader));
3938
$application->add(new TestCommand());
4039
$application->add(new TestBrowserCommand());
41-
$application->add(new UninstallCommand());
4240

4341
$application->run();

core-dev/src/Command/UninstallCommand.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ project_files:
1717
- core-dev/src/Command/CacheCommand.php
1818
- core-dev/src/Command/TestCommand.php
1919
- core-dev/src/Command/TestBrowserCommand.php
20-
- core-dev/src/Command/UninstallCommand.php
20+
- core-dev/src/Command/InstallCommand.php
2121

2222
post_install_actions:
2323
- cp core-dev/phpunit-chrome.xml ../core/phpunit.xml

0 commit comments

Comments
 (0)