You are here

function drush_platform_composer_git_post_provision_delete in Aegir Deploy 7.3

Implements drush_HOOK_post_COMMAND() for provision-delete command.

If repository path is different from root, delete it too.

File

modules/platform_composer_git/drush/platform_composer_git.drush.inc, line 27
Provision/Drush hooks for composer commands.

Code

function drush_platform_composer_git_post_provision_delete() {
  if (d()->type == 'platform') {
    $platform = new Provision_ComposerGitCreateProject();
    return $platform
      ->postProvisionDelete();
  }
}