Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow destination paths for includes to be specified #69

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rbayliss
Copy link

Hey there! I've got a use case where I want to install some files in slightly different locations than Drupal core uses. Right now there's no way to do that. What I'm proposing is that the includes key be allowed to specify an associative array of includes, where the key is the source, and the value is the destination. Eg:

{
  "extra": {
    "drupal-scaffold": {
      "includes": {
        "sites/example.settings.local.php": "sites/default/example.settings.local.php"
      },
    }
  }
}

@webflo
Copy link
Member

webflo commented Dec 24, 2017

Hi @rbayliss,

thanks for the PR. Isn't it possible to use the "initial" setting for this purpose? This setting runs after the download and an copy the file to other paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants