Drush make is an extension to drush that can create a ready-to-use drupal site, pulling sources from various locations. It does this by parsing a flat text file (similar to a drupal .info file) and downloading the sources it describes. In practical terms, this means that it is possible to distribute a complicated Drupal distribution as a single text file.

Drush Make is moving into Drush core

Once Drush 5 is released, drush_make will no longer be a separate Drush extension, but all the functionality will be provided directly by Drush core itself.

Once this happens, you will have to remove your copy of drush_make or you will get fatal errors about things being redefined, etc.

Because of this move, the 6.x-3.x branch of drush_make will probably never be released.

Issues for drush make functionality should be posted in the drush issue queue using the "Make" component.

See #1310130: Put drush make in drush core for more details.

Also note that the drupal.org-specific drush make validation has moved into the Drupal.org drush project.

Legacy information

Among drush make's capabilities are:

  • Downloading Drupal core, as well as contrib modules from drupal.org.
  • Checking code out from CVS, SVN, git, and bzr repositories.
  • Getting plain .tar.gz and .zip files (particularly useful for libraries that can not be distributed directly with drupal core or modules).
  • Fetching and applying patches.
  • Fetching modules, themes, and installation profiles, but also external libraries.

Drush make does not turn modules on automatically: it only assembles Drupal directories -- it does not touch any database.

Usage

The drush make command can be executed from a path within a Drupal codebase or independent of any Drupal sites entirely.

Examples

  1. Build a Drupal site at example/ including Drupal core and any projects defined in the makefile:

    drush make example.make example

  2. Build a tarball of the platform above as example.tar.gz:

    drush make --tar example.make example

  3. Build an installation profile within an existing Drupal site:

    drush make --no-core --contrib-destination=. installprofile.make

Documentation & other resources

Maintainer

  • Dmitri Gaskin (dmitrig01)

Downloads

Recommended releases

Version Downloads Date Links
6.x-2.3 tar.gz (42.26 KB) | zip (53.55 KB) 2011-Aug-14 Notes

Development releases

Version Downloads Date Links
6.x-2.x-dev tar.gz (42.26 KB) | zip (53.55 KB) 2011-Jul-31 Notes

Project Information


Maintainers for Drush Make

  • anarcat - 20 commits
    last: 29 weeks ago, first: 2 years ago
  • dmitrig01 - 358 commits
    last: 39 weeks ago, first: 2 years ago
  • hunmonk - 19 commits
    last: 42 weeks ago, first: 2 years ago
  • boombatower - 1 commit
    last: 46 weeks ago, first: 46 weeks ago
  • yhahn - 29 commits
    last: 1 year ago, first: 2 years ago

Issues for Drush Make

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports