[gnome-continuous] build: Show (no components rebuilt) status
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] build: Show (no components rebuilt) status
- Date: Sat, 23 Nov 2013 22:33:11 +0000 (UTC)
commit b661755dfd90050f8d0b621e88e6e823c3a90913
Author: Colin Walters <walters verbum org>
Date: Sat Nov 23 15:26:06 2013 -0500
build: Show (no components rebuilt) status
It just looks less broken.
src/js/tasks/task-build.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index 7c63afa..e4eb04e 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -1430,7 +1430,10 @@ const TaskBuild = new Lang.Class({
finalInstalledTestRevisions[treename] = rev;
}
- this._writeStatus('built: ' + this._rebuiltComponents.join(' '), cancellable);
+ if (this._rebuiltComponents.length > 0)
+ this._writeStatus('built: ' + this._rebuiltComponents.join(' '), cancellable);
+ else
+ this._writeStatus('(no components built)', cancellable);
JsonUtil.writeJsonFileAtomic(this.builddir.get_child('build.json'), buildData, cancellable);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]