[gnome-continuous/wip/platform: 8/9] Ignore all components with component "ignore"



commit 6e77e7484b5c27c6b0b8c12376b8767d8950ffea
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Sep 12 13:28:25 2014 +0200

    Ignore all components with component "ignore"
    
    This is useful if you want something not in the devel target, but you
    still want to build it. It will be used for the libudev-only version
    of systemd which we don't need in the devel package (its in systemd
    already). But we want to pull into the platform.

 src/js/tasks/task-build.js |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index 56e1b59..a8be300 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -1389,6 +1389,7 @@ const TaskBuild = new Lang.Class({
             let isHWTestOnly = resolved == 'hwtest';
             let isRuntime = resolved == 'minimal' || resolved == 'runtime';
             let isTesting = resolved == 'testing';
+            let isIgnore = resolved == 'ignore';
 
             if (isRuntime) {
                 runtimeComponents.push(component);
@@ -1399,11 +1400,7 @@ const TaskBuild = new Lang.Class({
                 hwtestComponents.push(component);
             }
 
-            if (!isHWTestOnly) {
-               develComponents.push(component);
-            }
-
-            if (!isHWTestOnly) {
+            if (!isHWTestOnly && !isIgnore) {
                develComponents.push(component);
             }
 


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