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
|
{
"tests": {
"root": {
"args": "task",
"output": "root.out",
"exitCode": 0
},
"package_a": {
"args": "task",
"cwd": "package-a",
"output": "package-a.out",
"exitCode": 0
},
"package_b": {
"args": "task",
"cwd": "package-b",
"output": "package-b.out",
"exitCode": 0
},
"scripts": {
"args": "task",
"cwd": "scripts",
"output": "scripts.out",
"exitCode": 0
},
"package_b_tasks": {
"steps": [{
"args": "task --quiet pkg-json-root",
"cwd": "package-b",
// uses the workspace as cwd
"output": "pkg-json [WILDLINE]workspace\n"
}, {
"args": "task --quiet pkg-json-root-2",
"cwd": "package-b",
// uses package-b as cwd
"output": "override [WILDLINE]package-b\n"
}, {
"args": "task --quiet echo-package-b",
"cwd": "package-b",
"output": "hi [WILDLINE]package-b\n"
}, {
"args": "task --quiet echo-root",
"cwd": "package-b",
"output": "override root [WILDLINE]package-b\n"
}, {
"args": "task --quiet echo-root",
"cwd": "package-a",
"output": "[WILDLINE]workspace\n"
}]
}
}
}
|