You are here

function autoload_drush_exit in Autoload 7.2

Implements hook_drush_exit().

File

./autoload.drush.inc, line 25
Drush integration.

Code

function autoload_drush_exit() {
  $command = drush_get_command();

  // Rebuild the autoloading class map only after downloading a bunch of
  // projects instead of doing this for every single one inside of the.

  /* @see hook_drush_pm_post_download() */
  if ('pm-download' === $command['command']) {
    drush_autoload_rebuild();
  }
}