Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Add ability to override drush make command line options. #807

Merged
merged 1 commit into from
Jul 23, 2016

Conversation

jaytavares
Copy link
Contributor

I needed to be able to customize the drush make command line options for a project. So, I added the ability to completely override the options used during provisioning. I think others may find it useful as well.

@jaytavares
Copy link
Contributor Author

Thought I'd just provide an example situation where one might want to override the drush make options. I have created a dev DrushVM repo that pulls down core and our custom installation profile. The profile then pulls in a number of custom modules that we maintain. It is very helpful to run drush make with the --working-copy option so that we have usable clones of all the custom modules' repos. This way we can just push the code after making changes to any of our modules.

Thanks!
Jay

@geerlingguy
Copy link
Owner

I'm not necessarily opposed to this addition (I'll merge after poking and prodding it a little), but one note: you can also specify working-copy per-project inside your make file, e.g. https://github.com/geerlingguy/drupal-vm/blob/master/example.drupal.make.yml#L21 (in case you hadn't seen that before; I learned of it a year or so ago and was happy to know I could specify that option in the makefile).

@jaytavares
Copy link
Contributor Author

Hmm, no kidding. I haven't seen that before. Do you know if it applies to all the modules in that case or just core?

@geerlingguy
Copy link
Owner

@jayusa123 - I think all modules.

@geerlingguy geerlingguy merged commit b052953 into geerlingguy:master Jul 23, 2016
@geerlingguy geerlingguy added this to the 3.2.0 milestone Jul 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants