aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/require-deprecated/require.qbs
blob: 87d8b054b8a1a1fd9528070d80bf4cd41193499c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import 'blubb.js' as blubb

Product {
    type: ["text"]
    Rule {
        multiplex: true
        Artifact {
            fileTags: ["text"]
            filePath: "one.txt"
        }
        Artifact {
            fileTags: ["text"]
            filePath: "two.txt"
        }
        prepare: {
            var filePaths = outputs.text.map(function (artifact) {return artifact.filePath; });
            return blubb.createCommands(filePaths);
        }
    }
}