added ability to install github bundles using zips.

This commit is contained in:
Taylor Otwell
2012-02-02 15:18:36 -06:00
parent 87424c73f5
commit ec5c08a7cc
4 changed files with 73 additions and 8 deletions

View File

@@ -25,9 +25,9 @@ class Github extends Provider {
*/
protected function zipball($bundle)
{
$zip = "https://github.com/{$bundle['location']}/zipball/master";
$url = "http://nodeload.github.com/{$bundle['location']}/zipball/master";
parent::zipball($zip, true);
parent::zipball($bundle, $url, true);
}
/**
@@ -38,6 +38,7 @@ class Github extends Provider {
*/
protected function submodule($bundle)
{
die('here');
$repository = "git@github.com:{$bundle['location']}.git";
$this->directory($bundle);