Skip to content

Commit e4c15ff

Browse files
authored
Added 'drush' directory to '.gitignore.artifact' and sorted entries. (#2459)
1 parent 6d10a2f commit e4c15ff

7 files changed

Lines changed: 13 additions & 6 deletions

File tree

.gitignore.artifact

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
/*
55

66
# Do not ignore required files.
7+
!.env
78
!/config/
9+
!/drush/
810
!/scripts/
911
!/vendor/
1012
!composer.json
11-
!.env
1213

1314
# Do not ignore webroot (manage Drupal Scaffold files using the composer.json)
1415
!web

.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.gitignore.artifact

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
/*
55

66
# Do not ignore required files.
7+
!.env
78
!/config/
9+
!/drush/
810
!/scripts/
911
!/vendor/
1012
!composer.json
11-
!.env
1213

1314
# Do not ignore webroot (manage Drupal Scaffold files using the composer.json)
1415
!web

.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_gha/.gitignore.artifact

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
/*
55

66
# Do not ignore required files.
7+
!.env
78
!/config/
9+
!/drush/
810
!/scripts/
911
!/vendor/
1012
!composer.json
11-
!.env
1213

1314
# Do not ignore webroot (manage Drupal Scaffold files using the composer.json)
1415
!web

.vortex/installer/tests/Fixtures/handler_process/deploy_types_artifact/.gitignore.artifact

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
/*
55

66
# Do not ignore required files.
7+
!.env
78
!/config/
9+
!/drush/
810
!/scripts/
911
!/vendor/
1012
!composer.json
11-
!.env
1213

1314
# Do not ignore webroot (manage Drupal Scaffold files using the composer.json)
1415
!web

.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.gitignore.artifact

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
/*
55

66
# Do not ignore required files.
7+
!.env
78
!/config/
9+
!/drush/
810
!/scripts/
911
!/vendor/
1012
!composer.json
11-
!.env
1213

1314
# Do not ignore webroot (manage Drupal Scaffold files using the composer.json)
1415
!docroot

.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.gitignore.artifact

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
/*
55

66
# Do not ignore required files.
7+
!.env
78
!/config/
9+
!/drush/
810
!/scripts/
911
!/vendor/
1012
!composer.json
11-
!.env
1213

1314
# Do not ignore webroot (manage Drupal Scaffold files using the composer.json)
1415
!docroot

.vortex/tests/phpunit/Traits/Subtests/SubtestDeploymentTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ protected function assertDeploymentFilesPresent(string $dir, string $webroot = '
7171
$this->assertFileDoesNotExist($dir . '/.gitignore.artifact', '.gitignore.artifact should not exist in deployment');
7272

7373
// Required directories should exist.
74+
$this->assertDirectoryExists($dir . '/drush', 'Drush directory should exist in deployment');
7475
$this->assertDirectoryExists($dir . '/scripts', 'Scripts directory should exist in deployment');
7576
$this->assertDirectoryExists($dir . '/vendor', 'Vendor directory should exist in deployment');
7677

0 commit comments

Comments
 (0)