aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/import-change-tracking/import-change-tracking-product.qbs
blob: f7e9bc5de9d6b3faf4866dde0ad0b9e31ee448fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import qbs
import "irrelevant.js" as Irrelevant
import "custom1prepare1.js" as Custom1Prepare
import "custom2prepare" as Custom2Prepare

Product {
    name: "customProduct"
    type: ["custom1", "custom2"]

    property string irrelevant: Irrelevant.irrelevant()

    Group {
        files: "input1.txt"
        fileTags: "input.custom1"
    }

    Group {
        files: "input2.txt"
        fileTags: "input.custom2"
    }

    Rule {
        inputs: "input.custom1"
        Artifact { filePath: "dummy.custom1"; fileTags: "custom1" }
        prepare: {
            return Custom1Prepare.prepare();
        }
    }

    Rule {
        inputs: "input.custom2"
        Artifact { filePath: "dummy.custom2"; fileTags: "custom2" }
        prepare: {
            return Custom2Prepare.prepare();
        }
    }
}