summaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: 52ccd17b06dc9d16aea39347c7c56b97dca8ea5c (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
	"version": "2.0.0",
	"options": {
		"cwd": "${workspaceFolder}",
		"shell": {
			"executable": "C:/msys64/msys2_shell.cmd",
			"args": [ "-defterm", "-no-start", "-mingw64", "-shell", "sh", "-here", "-c" ],
		}
	},
	"tasks": [
		{
			"label": "build client",
			"group": {
				"isDefault": false,
				"kind": "build"
			},
			"command": "make",
			"args": [ "" ],
			"options": { "cwd": "${workspaceFolder}/client" },
			"type": "shell"
		},
		{
			"label": "build robot",
			"group": {
				"isDefault": false,
				"kind": "build"
			},
			"options": { "cwd": "${workspaceFolder}/robot" },
			"command": "make",
			"args": [ "" ],
			"type": "shell"
		},
		{
			"label": "flash robot",
			"group": {
				"isDefault": false,
				"kind": "test"
			},
			"options": { "cwd": "${workspaceFolder}/robot" },
			"command": "make flash",
			"args": [ "" ],
			"type": "shell"
		},
		{
			"label": "clean directories",
			"group": {
				"isDefault": false,
				"kind": "none"
			},
			"command": "make clean",
			"args": [ "" ],
			"type": "shell"
		},
		{
			"label": "format source files",
			"group": {
				"isDefault": false,
				"kind": "none"
			},
			"command": "make format",
			"args": [ "" ],
			"type": "shell"
		},
		{
			"label": "generate compilation db (needed for autocomplete)",
			"group": {
				"isDefault": false,
				"kind": "build"
			},
			"command": "make compile_commands",
			"args": [ "" ],
			"type": "shell"
		},
	]
}