aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs
blob: b477e2bf79299f7751343a9921ac13412413f346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import qbs

Module {
    property string prop

    Rule {
        inputs: ["dep-in"]
        Artifact {
            filePath: "dummy.txt"
            fileTags: ["dep-out"]
        }
        prepare: {
            var cmd = new JavaScriptCommand();
            cmd.description = "Creating dep-out artifact";
            cmd.sourceCode = function() {
                console.info("prop: " + product.moduleProperty("depmodule", "prop"));
            };
            return [cmd];
        }
    }
}