function drush_make_process

8.0.x make.drush.inc drush_make_process($directory)
6.x make.drush.inc drush_make_process($directory)
7.x make.drush.inc drush_make_process($directory)
5.x make.drush.inc drush_make_process($directory)
master make.drush.inc drush_make_process($directory)

Drush callback: hidden file to process an individual project.

File

commands/make/make.drush.inc, line 203
Drush Make commands.

Code

function drush_make_process($directory) {
  // Set the temporary directory.
  make_tmp(TRUE, $directory);
  $project = drush_get_option('project', FALSE);

  if ($instance = DrushMakeProject::getInstance($project['type'], $project)) {
    $instance->make();
  }
  else {
    make_error('PROJECT-TYPE', dt('Non-existent project type %type on project %project', array('%type' => $project['type'], '%project' => $project['name'])));
  }
}