summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-04-26 12:39:22 +0200
committerlonkaars <loek@pipeframe.xyz>2022-04-26 12:39:22 +0200
commitd067eacc112f2453e95f0dde89bb0f60f170a195 (patch)
treea8066fb861ecaa2162e6e9683fb201d4e1600fe7 /.vscode
parent8db9589e6ca1757a5c5224fe5b913828d9ec0cb3 (diff)
project restructure + help in readme.md
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/settings.json4
-rw-r--r--.vscode/tasks.json58
2 files changed, 58 insertions, 4 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
deleted file mode 100644
index 5647e49..0000000
--- a/.vscode/settings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "makefile.extensionOutputFolder": "./.vscode",
- "makefile.makefilePath": "makefile"
-} \ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000..056c4b9
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,58 @@
+{
+ "version": "2.0.0",
+ "command": "sh",
+ "options": { "cwd": "${workspaceFolder}" },
+ "args": [ "-c" ],
+ "tasks": [
+ {
+ "label": "build client",
+ "group": {
+ "isDefault": false,
+ "kind": "build"
+ },
+ "args": [ "make", "-C", "client" ],
+ "command": "",
+ "type": "shell"
+ },
+ {
+ "label": "build robot",
+ "group": {
+ "isDefault": false,
+ "kind": "build"
+ },
+ "args": [ "make", "-C", "robot" ],
+ "command": "",
+ "type": "shell"
+ },
+ {
+ "label": "flash robot",
+ "group": {
+ "isDefault": false,
+ "kind": "test"
+ },
+ "args": [ "make", "flash", "-C", "robot" ],
+ "command": "",
+ "type": "shell"
+ },
+ {
+ "label": "clean directories",
+ "group": {
+ "isDefault": false,
+ "kind": "none"
+ },
+ "args": [ "make", "clean" ],
+ "command": "",
+ "type": "shell"
+ },
+ {
+ "label": "format source files",
+ "group": {
+ "isDefault": false,
+ "kind": "none"
+ },
+ "args": [ "make", "format" ],
+ "command": "",
+ "type": "shell"
+ },
+ ]
+}