-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathtasks.json
118 lines (118 loc) · 3.83 KB
/
tasks.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"version": "2.0.0",
"tasks": [
{
"label": "Main Build",
"type": "shell",
"command": "make -C build/default",
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": "Bootstrap",
"isBackground": false,
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": ["$gcc"]
},
{
"label": "Auto-enforce coding style",
"type": "shell",
"command": "make -C build/default pretty",
"group": "none",
"dependsOn": "Bootstrap",
"isBackground": false,
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": ["$gcc"]
},
{
"label": "Verify coding style conformance",
"type": "shell",
"command": "make -C build/default pretty-check",
"group": "none",
"dependsOn": "Bootstrap",
"problemMatcher": ["$gcc"]
},
{
"label": "Run Unit and Functional Tests",
"type": "shell",
"command": "make -C build/default check",
"group": "none",
"dependsOn": "Bootstrap",
"problemMatcher": ["$gcc"]
},
{
"label": "Run Distribution Generation",
"type": "shell",
"command": "make -C build/default distcheck",
"group": "none",
"dependsOn": "Bootstrap",
"problemMatcher": ["$gcc"]
},
{
"label": "Run Code Coverage",
"type": "shell",
"command": "make -C build/default coverage; code -r build/default/src/chip.info/index.html",
"group": "none",
"dependsOn": "Bootstrap",
"problemMatcher": ["$gcc"]
},
{
"label": "Clean",
"type": "shell",
"command": "make -C build/default distclean",
"group": "none",
"dependsOn": "Bootstrap",
"problemMatcher": ["$gcc"]
},
{
"label": "Configure",
"type": "shell",
"command": "mkdir -p build/default && (cd build/default && ../../bootstrap-configure --enable-debug --enable-coverage)",
"group": "none",
"problemMatcher": ["$gcc"]
},
{
"label": "Bootstrap",
"type": "shell",
"command": "if [[ ! -f build/default/config.status ]]; then mkdir -p build/default; (cd build/default && ../../bootstrap-configure --enable-debug --enable-coverage); else ./bootstrap -w make; fi",
"group": "none",
"problemMatcher": ["$gcc"]
},
{
"label": "Clean Tree",
"type": "shell",
"command": "make -f Makefile-bootstrap clean-repos && git clean -Xdf",
"group": "none",
"problemMatcher": ["$gcc"]
},
{
"label": "Run Setup Payload Tests",
"type": "shell",
"command": "make -C build/default/src/setup_payload check",
"group": "none",
"dependsOn": "Bootstrap",
"problemMatcher": ["$gcc"]
},
{
"label": "Build & Run Crypto Tests",
"type": "shell",
"command": "make -C build/default/src/crypto check",
"group": "none",
"problemMatcher": ["$gcc"]
},
{
"label": "Build nRF5 Lock App",
"type": "shell",
"command": "make -C examples/lock-app/nrf5",
"group": "none",
"dependsOn": "Clean Tree",
"problemMatcher": ["$gcc"]
}
]
}