From eb7753511e182ac96dc7aa99431e98af42e5a024 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Mon, 14 Jul 2025 22:46:25 +0800 Subject: [PATCH] Update tasks --- .vscode/tasks.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index d60cc83..05447d0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -56,6 +56,44 @@ "isDefault": true }, "detail": "使用 just test 测试" + }, + { + "type": "shell", + "label": "测试 framework", + "command": "just", + "args": [ + "test-fw" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "test", + "isDefault": false + }, + "detail": "使用 just test-fw 测试 framework" + }, + { + "type": "shell", + "label": "测试 xy.h", + "command": "just", + "args": [ + "test-xy" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "test", + "isDefault": false + }, + "detail": "使用 just test-xy 测试 xy.h" } ], "version": "2.0.0"