<?php
-set_include_path(__DIR__."/src:".get_include_path());
+set_include_path(__DIR__."/../src:".get_include_path());
spl_autoload_register(function($class) {
if (strncmp($class, "pharext\\", strlen("pharext\\"))) {
return false;
-q|--quiet Less output
-p|--prefix <arg> PHP installation prefix if phpize is not in \$PATH, e.g. /opt/php7
-n|--common-name <arg> PHP common program name, e.g. php5 or zts-php [php]
- -c|--configure <arg> Additional extension configure flags, e.g. -c --with-flag
+ -c|--configure <arg> Additional extension configure flags, e.g. -c --with-flag (MULTIPLE)
-s|--sudo [<arg>] Installation might need increased privileges [sudo -S %s]
"name" => "json_post",
"release" => "1.0.0",
"license" => file_get_contents($src->getBaseDir()."/LICENSE"),
- "stub" => "pharext_installer.php",
"type" => "extension",
];
- $pkg = (new Task\PharBuild($src, $inf))->run();
+ $stb = __DIR__."/../../../src/pharext_installer.php";
+ $pkg = (new Task\PharBuild($src, $stb, $inf))->run();
$gzp = (new Task\PharCompress($pkg, \Phar::GZ))->run();
$pkg = (new Task\PharRename($pkg, ".", "json_post-1.0.0"))->run();
$gzp = (new Task\PharRename($gzp, ".", "json_post-1.0.0"))->run();