X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=build%2Fcreate-phar.php;h=409bf8e3a3a5a3c38db6c6c47169b0185c85eae7;hb=c61404bba9e446429740a134deb5cf8f29f1e0f3;hp=4836cebf6e30438cf85f2dec5ab1cf1b1b08c7bc;hpb=1409885bcef1c517fc0bd23adb6a108aecb98afe;p=pharext%2Fpharext diff --git a/build/create-phar.php b/build/create-phar.php index 4836ceb..409bf8e 100644 --- a/build/create-phar.php +++ b/build/create-phar.php @@ -11,11 +11,8 @@ spl_autoload_register(function($c) { require_once __DIR__."/../src/pharext/Version.php"; -$file = (new pharext\Task\PharBuild(null, [ - "header" => sprintf("pharext v%s (c) Michael Wallner ", pharext\VERSION), - "version" => pharext\VERSION, +$file = (new pharext\Task\PharBuild(null, pharext\Metadata::all() + [ "name" => "pharext", - "date" => date("Y-m-d"), "stub" => "pharext_packager.php", "license" => file_get_contents(__DIR__."/../LICENSE") ], false))->run();