- changed status to resolved
Allow Composer Custom Directories
Issue #27
resolved
By requiring composer installers you can allow your project to be placed into custom directories by the consumer. This way we can configure our projects to place drush plugins directly into sites/all/drush/plugins
or wherever you want to put them that's not vendor
.
Ex. composer.json
{
"minimum-stability": "dev",
"require": {
"davereid/drush-patchfile": "dev-master",
"keyboardcowboy/drush-denver": "1.3.*"
},
"extra": {
"installer-paths": {
"docroot/sites/all/drush/plugins/{$name}": ["type:drupal-drush"]
}
}
}
Comments (2)
-
repo owner -
repo owner Just went through and updated all my other drush extensions that have composer.json files to use the same.
- Log in to comment
I think https://bitbucket.org/davereid/drush-patchfile/pull-request/7/require-composer-installers resolved this issue.