X-Git-Url: https://git.m6w6.name/?p=pharext%2Fpharext;a=blobdiff_plain;f=build%2Fcreate-phar.php;h=26ac6e93899ece94ad582c5fa6359e19be51cc97;hp=d2804a8c00fe12e2ffd09c3573dabbb66a13aaeb;hb=4af08c149c8b66e9fe8b9b0fb9f276e0745377d1;hpb=ce54d468fa97453d949185c0128b435add9aa68d diff --git a/build/create-phar.php b/build/create-phar.php index d2804a8..26ac6e9 100644 --- a/build/create-phar.php +++ b/build/create-phar.php @@ -4,14 +4,13 @@ * Creates bin/pharext, invoked through the Makefile */ -set_include_path(dirname(__DIR__)."/src"); +set_include_path(dirname(__DIR__)."/src:".get_include_path()); spl_autoload_register(function($c) { return include strtr($c, "\\_", "//") . ".php"; }); -$file = (new pharext\Task\PharBuild(null, pharext\Metadata::all() + [ +$file = (new pharext\Task\PharBuild(null, __DIR__."/../src/pharext_packager.php", pharext\Metadata::all() + [ "name" => "pharext", - "stub" => "pharext_packager.php", "license" => file_get_contents(__DIR__."/../LICENSE") ], false))->run();