diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-05-10 09:11:46 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-05-11 14:30:39 +0000 |
commit | 860522715cb851f56cd8b2133bf6035d0558dede (patch) | |
tree | 8ab50bb503dd64058680dfd9914b4d4595f7bcec /tests/auto/blackbox/testdata/propertyChanges | |
parent | 86572158878c00450e054886a95ecd1d435d957e (diff) |
Deprecate the Transformer item.
When dynamic rules were introduced, transformers became second-class
citizens. They do not play well with rules, they introduce annoying
additional code paths in the implementation and they are plain broken in
several aspects. Now that rules with no inputs are supported, we don't
need transformers anymore.
Task-number: QBS-885
Change-Id: I316d8cffc91bb529f82350edc0b08358a80ae3fd
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata/propertyChanges')
-rw-r--r-- | tests/auto/blackbox/testdata/propertyChanges/project.qbs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/auto/blackbox/testdata/propertyChanges/project.qbs b/tests/auto/blackbox/testdata/propertyChanges/project.qbs index cd842c12e..8293d4ca7 100644 --- a/tests/auto/blackbox/testdata/propertyChanges/project.qbs +++ b/tests/auto/blackbox/testdata/propertyChanges/project.qbs @@ -31,10 +31,12 @@ Project { Product { name: "generated text file" + type: ["my_output"] property string fileContentPrefix: "prefix 1" - Transformer { - Artifact { filePath: "nothing" } + Rule { + multiplex: true + Artifact { filePath: "nothing"; fileTags: ["my_output"] } prepare: { var cmd = new JavaScriptCommand(); cmd.silent = true; @@ -43,8 +45,9 @@ Project { } } - Transformer { - Artifact { filePath: "generated.txt" } + Rule { + multiplex: true + Artifact { filePath: "generated.txt"; fileTags: ["my_output"] } prepare: { var cmd = new JavaScriptCommand(); cmd.description = "generating " + output.filePath; |