Skip to content

Instantly share code, notes, and snippets.

@jessehs
Created June 10, 2014 21:26
Show Gist options
  • Save jessehs/ee7a3206f8a792906e65 to your computer and use it in GitHub Desktop.
Save jessehs/ee7a3206f8a792906e65 to your computer and use it in GitHub Desktop.
Add this to your .bashrc or .profile file. This is useful you update patches on a contrib module and don't want to rebuild the entire site.
# Use drush make to build only a single project from a make file (without needing to rebuild the whole thing).
drushMakeProject() {
drush make --contrib-destination=. --no-core --projects=$1 -y $2
}
alias makeproject=drushMakeProject
@mpgeek
Copy link

mpgeek commented Jun 10, 2014

I wonder if we could add an argument so it could be projects or libraries ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment