acquia / blt

Acquia's toolset for automating Drupal 8 and 9 development, testing, and deployment.
https://docs.acquia.com/blt/
GNU General Public License v2.0
442 stars 394 forks source link

Fix #4666: BLT excludes drush/Commands/custom #4667

Closed jcnventura closed 1 year ago

jcnventura commented 1 year ago

Motivation

Fixes #4666

Proposed changes

This changes the default deploy-exclude.txt file to behave the same as other lines in that file and only ignore the contrib directory for Drush commands.

Alternatives considered

The workaround is a custom deploy-exclude.txt file, but the only way to have this fixed in BLT is the proposed change.

Testing steps

No need to test. You can simply see that this now only excludes the Drush commands that are installed by composer via the line in https://github.com/drupal/recommended-project/blob/9.1.x/composer.json#L46