Update tasks.json according to the new justfile

This commit is contained in:
Aoran Zeng 2025-06-20 22:42:52 +08:00
parent 168cce314f
commit 789240dd2f
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

14
.vscode/tasks.json vendored
View File

@ -4,7 +4,9 @@
"type": "shell", "type": "shell",
"label": "构建 chsrc", "label": "构建 chsrc",
"command": "just", "command": "just",
"args": ["build"], "args": [
"build"
],
"options": { "options": {
"cwd": "${workspaceFolder}" "cwd": "${workspaceFolder}"
}, },
@ -21,7 +23,9 @@
"type": "shell", "type": "shell",
"label": "构建 debug 版 chsrc", "label": "构建 debug 版 chsrc",
"command": "just", "command": "just",
"args": ["DEBUG=1", "build"], "args": [
"build-in-debug-mode"
],
"options": { "options": {
"cwd": "${workspaceFolder}" "cwd": "${workspaceFolder}"
}, },
@ -32,13 +36,15 @@
"kind": "build", "kind": "build",
"isDefault": false "isDefault": false
}, },
"detail": "使用 just DEBUG=1 build 编译 debug 版" "detail": "使用 just build-in-debug-mode 编译 debug 版"
}, },
{ {
"type": "shell", "type": "shell",
"label": "测试 chsrc", "label": "测试 chsrc",
"command": "just", "command": "just",
"args": ["test"], "args": [
"test"
],
"options": { "options": {
"cwd": "${workspaceFolder}" "cwd": "${workspaceFolder}"
}, },