Permalink
Browse files

* add placeholder calls

 * add call to package() using PharData
  • Loading branch information...
1 parent 48a0452 commit ff66ccf781b4017b03ea515ccb91fd3352ac51d1 @till committed Jun 15, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/Composer/Package/Dumper/ZipDumper.php
@@ -36,6 +36,14 @@ public function dump(PackageInterface $package)
$this->downloadGit($package, $workDir);
$this->packageGit($fileName, $sourceRef, $workDir);
break;
+ case 'hg':
+ $this->downloadHg($package, $workDir);
+ $this->package($fileName, $workDir, \Phar::ZIP);
+ break;
+ case 'svn':
+ $this->downloadSvn($package, $workDir);
+ $this->package($fileName, $workDir, \Phar::ZIP);
+ break;
default:
throw new \InvalidArgumentException("Unable to handle repositories of type '{$sourceType}'.");
}

0 comments on commit ff66ccf

Please sign in to comment.