1
0
Fork 0

Skip the vendor dir when archiving the current project

pull/1567/head
Nils Adermann 2013-02-07 17:50:09 +01:00
parent ba375b6867
commit 735b59c1d6
1 changed files with 5 additions and 0 deletions

View File

@ -78,6 +78,11 @@ EOT
}
} else {
$package = $this->getComposer()->getPackage();
// also ignore the vendor dir
$excludes = $package->getArchiveExcludes();
$excludes[] = '/'.$this->getComposer()->getConfig()->get('vendor-dir');
$package->setArchiveExcludes($excludes);
}
$io->write('<info>Creating the archive.</info>');