blob: c86a1bbb7ec5fccb652254886e8c5260bb371909 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
import "irrelevant.js" as Irrelevant
import "custom1prepare1.js" as Custom1Prepare
import "custom2prepare" as Custom2Prepare
import "probe1.js" as ProbeFunc
Product {
name: "customProduct"
type: ["custom1", "custom2"]
property string irrelevant: Irrelevant.irrelevant()
property string dummy: probe1.result
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();
}
}
Probe {
id: probe1
property string input: Irrelevant.irrelevant()
property string result
configure: {
found = true;
console.info("running probe1");
return ProbeFunc.probe1Func();
}
}
Probe {
id: probe2
configure: {
console.info("running probe2");
found = true;
}
}
}
|