aboutsummaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
authorHoodieJeansJordans <104365411+HoodieJeansJordans@users.noreply.github.com>2022-06-05 13:21:09 +0200
committerGitHub <noreply@github.com>2022-06-05 13:21:09 +0200
commitbc283424c699effcfa84816c609ca7f00ed5259a (patch)
treeff67ced022120ae05997c1b1f3a49db992e4fcbf /.vscode/tasks.json
parent5692ca8c65f5f5617d6987b610e425a32c0d8e1d (diff)
parent38d71eb97dbd8f895ed483128b332f018a5ae1d4 (diff)
Merge branch 'lonkaars:master' into master
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r--.vscode/tasks.json43
1 files changed, 30 insertions, 13 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 251c67d..52ccd17 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -1,8 +1,12 @@
{
"version": "2.0.0",
- "command": "C:/msys64/usr/bin/sh.exe",
- "options": { "cwd": "${workspaceFolder}" },
- "args": [ "-c" ],
+ "options": {
+ "cwd": "${workspaceFolder}",
+ "shell": {
+ "executable": "C:/msys64/msys2_shell.cmd",
+ "args": [ "-defterm", "-no-start", "-mingw64", "-shell", "sh", "-here", "-c" ],
+ }
+ },
"tasks": [
{
"label": "build client",
@@ -10,8 +14,9 @@
"isDefault": false,
"kind": "build"
},
- "args": [ "make", "-C", "client" ],
- "command": "",
+ "command": "make",
+ "args": [ "" ],
+ "options": { "cwd": "${workspaceFolder}/client" },
"type": "shell"
},
{
@@ -20,8 +25,9 @@
"isDefault": false,
"kind": "build"
},
- "args": [ "make", "-C", "robot" ],
- "command": "",
+ "options": { "cwd": "${workspaceFolder}/robot" },
+ "command": "make",
+ "args": [ "" ],
"type": "shell"
},
{
@@ -30,8 +36,9 @@
"isDefault": false,
"kind": "test"
},
- "args": [ "make", "flash", "-C", "robot" ],
- "command": "",
+ "options": { "cwd": "${workspaceFolder}/robot" },
+ "command": "make flash",
+ "args": [ "" ],
"type": "shell"
},
{
@@ -40,8 +47,8 @@
"isDefault": false,
"kind": "none"
},
- "args": [ "make", "clean" ],
- "command": "",
+ "command": "make clean",
+ "args": [ "" ],
"type": "shell"
},
{
@@ -50,8 +57,18 @@
"isDefault": false,
"kind": "none"
},
- "args": [ "make", "format" ],
- "command": "",
+ "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"
},
]