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.gzand.zipfiles (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
-
Build a Drupal site at
example/including Drupal core and any projects defined in the makefile:drush make example.make example -
Build a tarball of the platform above as
example.tar.gz:drush make --tar example.make example -
Build an installation profile within an existing Drupal site:
drush make --no-core --contrib-destination=. installprofile.make
Documentation & other resources
- Drush Make theory for happy profile development
- INSTALL.txt - install instructions
- README.txt - syntax and usage documentation
- EXAMPLE.make - example makefile
- Using squid as a caching server for drush module downloads by acrollet
Maintainer
- Dmitri Gaskin (dmitrig01)
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Minimally maintained
- Development status: No further development
- Downloads: 126,735
- Last modified: December 9, 2011