-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgraph.dot
37 lines (34 loc) · 1.02 KB
/
graph.dot
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
strict digraph {
// Node definitions.
srcA [label="srcA" type="SRC"];
srcB [label="srcB" type="SRC"];
srcC [label="srcC" type="SRC"];
srcDoc [label="srcDoc" type="SRC"];
getA [label="getA" type="JOB"];
buildA [label="buildA" type="JOB"];
buildB [label="buildB" type="JOB"];
buildDoc [label="buildDoc" type="JOB"];
build [label="build" type="JOB"];
objA [label="objA" type="OBJ"];
objB [label="objB" type="OBJ"];
doc [label="doc" type="OBJ"];
bin [label="bin" type="OBJ"];
// Edge definitions.
getA -> srcA -> buildA -> objA -> build -> bin;
srcB -> buildB -> objB -> build;
objA -> buildB;
srcC -> build;
srcDoc -> buildDoc -> doc;
}
/*
Certainly, it is possible to express the same dependency graph removing all the nodes
which are not of type `job`:
strict digraph {
// Edge definitions.
getA -> buildA -> build;
buildB -> build;
buildDoc;
}
However, this requires to define sources for each job through the `config.json` file.
This is not supported yet.
*/