Permalink
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 593 Bytes
<?php
error_reporting(E_ALL);
ini_set('display_errors',true);
require_once dirname(__FILE__).'/../autoload.php';
$a = new PEAR2\Pyrus\PEAR2SVN(dirname(__FILE__), 'PEAR2_HTTP_Request');
$package = new PEAR2\Pyrus\Package('package.xml');
$outfile = $package->name.'-'.$package->version['release'];
$a = new PEAR2\Pyrus\Creator(
new PEAR2\Pyrus\Tar($outfile.'.tar', 'none'),
//new PEAR2\Pyrus\Phar($outfile.'.tgz', false, Phar::TAR, Phar::GZ),
dirname(__FILE__).'/../Exception/src',
dirname(__FILE__).'/../Autoload/src',
dirname(__FILE__).'/../MultiErrors/src'
);
$a->render($package);
?>