Commit: bc36022280f5feec3f9c66e85d64223c498b2353 Author: Anatol Belski <[email protected]> Wed, 22 Apr 2015 16:13:19 +0200 Parents: fe1f8655d10e9cbd4de56ae43bda476acedaeb6d Branches: master pecl_legacy
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=bc36022280f5feec3f9c66e85d64223c498b2353 Log: further bits for packagist bild Changed paths: M client/include/PickleBuildVC.php M client/include/PickleExt.php M client/script/packagist.php Diff: diff --git a/client/include/PickleBuildVC.php b/client/include/PickleBuildVC.php index f55b771..befbde5 100644 --- a/client/include/PickleBuildVC.php +++ b/client/include/PickleBuildVC.php @@ -7,9 +7,16 @@ include __DIR__ . '/MakeLogParserVC.php'; class PickleBuildVC { + public $branch; + public $build_name; + protected $pickle_phar = 'c:\apps\bin\pickle.phar'; public function __construct(PickleBranch $branch, $build_name) { + $this->branch = $branch; + $this->build_name = $build_name; + + } @@ -29,6 +36,11 @@ class PickleBuildVC } + public function clean() + { + + } + public function archive() { diff --git a/client/include/PickleExt.php b/client/include/PickleExt.php index 53d6363..f1794b8 100644 --- a/client/include/PickleExt.php +++ b/client/include/PickleExt.php @@ -11,7 +11,6 @@ class PickleExt protected $zip_cmd = 'c:\php-sdk\bin\zip.exe'; protected $unzip_cmd = 'c:\php-sdk\bin\unzip.exe'; protected $deplister_cmd = 'c:\apps\bin\deplister.exe'; - protected $pickle_phar = 'c:\apps\bin\pickle.phar'; protected $composer_json = NULL; protected $composer_json_path = NULL; @@ -19,5 +18,25 @@ class PickleExt { $this->pkg_uri = $pkg_uri; } + + + public function init() + { + } + + public function preparePackage() + { + + } + + public function packLogs() + { + + } + + public function check() + { + + } } diff --git a/client/script/packagist.php b/client/script/packagist.php index e6706c5..dbe725d 100644 --- a/client/script/packagist.php +++ b/client/script/packagist.php @@ -2,15 +2,15 @@ include __DIR__ . '/../data/config.php'; include __DIR__ . '/../include/PickleBranch.php'; -include __DIR__ . '/../include/Pickle.php'; include __DIR__ . '/../include/Tools.php'; -//include __DIR__ . '/../include/PackagistExt.php'; +include __DIR__ . '/../include/PickleExt.php'; use rmtools as rm; /* parametrize */ -$branch_name = "packagist70"; +$branch_name = "packagist56"; +$pkg_path = "c:\\tmp\\varnish-1.1.1.tgz"; $config_path = __DIR__ . '/../data/config/packagist/' . $branch_name . '.ini'; @@ -19,9 +19,6 @@ $branch = new rm\PickleBranch($config_path); $branch_name = $branch->config->getName(); $builds = $branch->getBuildList('windows'); -$pickle = new rm\Pickle(); - - //var_dump($pickle); //var_dump($branch_name); @@ -34,9 +31,16 @@ foreach ($builds as $build_name) { //$build_config = $branch->config->getBuildFromName($build_name); $build = $branch->createBuildInstance($build_name); + $ext = new rm\PickleExt($pkg_path, $build); + + $build->phpize(); + $build->configure(); + $build->make(); + $build->clean(); var_dump($build_name); var_dump($build); + var_dump($ext); //var_dump($build_config); } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
