consistent verbosity
[pharext/pharext] / src / pharext / Task / Make.php
index 9e7156561606af833e5241dc9682a2fbd905b5d1..61dbf00d46411b344b3254e5b1a5563702231b57 100644 (file)
@@ -44,6 +44,15 @@ class Make implements Task
         * @throws \pharext\Exception
         */
        public function run($verbose = false) {
+               if ($verbose !== false) {
+                       printf("Running make");
+                       if ($this->args) {
+                               foreach ($this->args as $arg) {
+                                       printf(" %s", $arg);
+                               }
+                       }
+                       printf(" ...\n");
+               }
                $pwd = getcwd();
                if (!chdir($this->cwd)) {
                        throw new Exception;