Skip to content

Instantly share code, notes, and snippets.

@mpgeek
Created March 27, 2014 23:19
Show Gist options
  • Save mpgeek/9821336 to your computer and use it in GitHub Desktop.
Save mpgeek/9821336 to your computer and use it in GitHub Desktop.
Build specific project or library from a project makefile.
cd $PROJECT_ROOT/$PROFILE
# rebuild project
drush make --contrib-destination=. --no-core -y --projects=$PROJECT_LIST ./$PROFILE.make
# rebuild library
drush make --contrib-destination=. --no-core -y --libraries=$LIBRARY_LIST ./$PROFILE.make
# ${PROJECT|LIBRARY}_LIST can be comma-separated for multiples.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment