Allow Composer Custom Directories

Issue #27 resolved
Chris Albrecht created an issue

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)

  1. Dave Reid repo owner

    Just went through and updated all my other drush extensions that have composer.json files to use the same.

  2. Log in to comment