From 5fc91c2430ce27bd545383c62528ad9eb467d9ca Mon Sep 17 00:00:00 2001 From: Anders Elfgren Date: Fri, 16 Feb 2024 19:14:19 +0100 Subject: [PATCH 1/2] Added tasks.json for easy building from vs code. --- .vscode/tasks.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..8f54148 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,20 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "type": "shell", + "command": "zig build --summary failures -freference-trace", + "group": "build", + "problemMatcher": [ + "$gcc" + ], + "presentation": { + "clear": true, + // "revealProblems": "onProblem" + } + }, + ] +} \ No newline at end of file From 525eee2635e6e61946589ad7d98c8d4e4c14dc32 Mon Sep 17 00:00:00 2001 From: Anders Elfgren Date: Fri, 16 Feb 2024 19:21:17 +0100 Subject: [PATCH 2/2] Fixed build task label --- .vscode/tasks.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 8f54148..926f5ea 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,7 +4,7 @@ "version": "2.0.0", "tasks": [ { - "label": "build", + "label": "buildDebug", "type": "shell", "command": "zig build --summary failures -freference-trace", "group": "build",