[gnome-ostree/wip/compile-one-js: 2/3] task: Print directory when starting tasks



commit 1b85d365822b127723a4db8fc0449be87aa46928
Author: Colin Walters <walters verbum org>
Date:   Mon Feb 11 18:56:22 2013 -0500

    task: Print directory when starting tasks

 src/ostbuild/js/task.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ostbuild/js/task.js b/src/ostbuild/js/task.js
index 8c7a5e8..73d94b0 100644
--- a/src/ostbuild/js/task.js
+++ b/src/ostbuild/js/task.js
@@ -184,6 +184,7 @@ const TaskMaster = new Lang.Class({
 	       !this.isTaskExecuting(this._pendingTasksList[0].name)) {
 	    let task = this._pendingTasksList.shift();
 	    task._executeInSubprocessInternal(this.cancellable);
+	    print("Task " + task.name + " running in " + task._workdir.get_path());
 	    this._executing.push(task);
 	}
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]