Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough

Playing with Drush Make

Parent Feed: 

Drush and Drush Make belong in every Drupal developer's toolkit. This is a make file that will build the following:

  1. Drupal 6.14 (or latest)
  2. ApacheSolr module
  3. Acquia Connector module (from Drupal.org)

This demonstrates four different methods for downloading code, from three different sources.

To execute, install Drush, install Drush Make, then run the attached file like this:

drush make search.make

To specify an output directory, add the path as an extra parameter:

drush make search.make /var/log/www

To see what's going on, use the -v flag for verbose output:

drush -v make search.make

Here's the content of the make file:


core = "6.x" 

projects[] = "drupal" 

projects[] = "acquia_connector"

projects[apachesolr][download][type] = "cvs"
projects[apachesolr][download][module] = "contributions/modules/apachesolr"
projects[apachesolr][download][revision] = "DRUPAL-6--2"

projects[acquia_search][type] = "module"
projects[acquia_search][download][type] = "svn"
projects[acquia_search][download][url] = "https://svn.acquia.com/drupal/branches/1.x-6.x/modules/acquia/acquia_search/"

libraries[SolrPhpClient][download][type] = "get"
libraries[SolrPhpClient][download][url] = "http://solr-php-client.googlecode.com/files/SolrPhpClient.r22.2009-11-09.tgz"
libraries[SolrPhpClient][destination] = "modules/apachesolr"

AttachmentSize
692 bytes
Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web