}
}
+ /**
+ * Create a new temp directory
+ * @param string $prefix
+ * @return string
+ */
private function newtemp($prefix) {
$temp = $this->tempname($prefix);
if (!is_dir($temp)) {
*/
private $path;
- /**
- * Installer hook
- * @var string
- */
- private $hook;
-
/**
* @inheritdoc
* @see \pharext\SourceDir::__construct()
*/
private function generateFiles() {
foreach ($this->generateHooks() as $file => $hook) {
+ if ($this->cmd->getArgs()->verbose) {
+ $this->cmd->info("Packaging %s\n", is_string($hook) ? $hook : $file);
+ }
yield $file => $hook;
}
foreach ($this->sxe->xpath("//pecl:file") as $file) {