projects
/
pharext
/
pharext
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix normal/verbose/quiet output
[pharext/pharext]
/
src
/
pharext
/
Task
/
PharSign.php
diff --git
a/src/pharext/Task/PharSign.php
b/src/pharext/Task/PharSign.php
index 739c587582836610f2250720e2b3ca4c4f75ef46..62ec9253a2a92af57ed8e8f476f3b6658a69390c 100644
(file)
--- a/
src/pharext/Task/PharSign.php
+++ b/
src/pharext/Task/PharSign.php
@@
-42,6
+42,9
@@
class PharSign implements Task
* @return \pharext\Openssl\PrivateKey
*/
public function run($verbose = false) {
+ if ($verbose !== false) {
+ printf("Signing %s ...\n", basename($this->phar->getPath()));
+ }
$this->pkey->sign($this->phar);
return $this->pkey;
}