projects
/
pharext
/
pharext
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
use a Metadata class
[pharext/pharext]
/
build
/
create-phar.php
diff --git
a/build/create-phar.php
b/build/create-phar.php
index 4836cebf6e30438cf85f2dec5ab1cf1b1b08c7bc..409bf8e3a3a5a3c38db6c6c47169b0185c85eae7 100644
(file)
--- 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";
require_once __DIR__."/../src/pharext/Version.php";
-$file = (new pharext\Task\PharBuild(null, [
- "header" => sprintf("pharext v%s (c) Michael Wallner <mike@php.net>", pharext\VERSION),
- "version" => pharext\VERSION,
+$file = (new pharext\Task\PharBuild(null, pharext\Metadata::all() + [
"name" => "pharext",
"name" => "pharext",
- "date" => date("Y-m-d"),
"stub" => "pharext_packager.php",
"license" => file_get_contents(__DIR__."/../LICENSE")
], false))->run();
"stub" => "pharext_packager.php",
"license" => file_get_contents(__DIR__."/../LICENSE")
], false))->run();