mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-23 08:39:34 +08:00
101 lines
2.5 KiB
JSON
101 lines
2.5 KiB
JSON
{
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "构建 chsrc",
|
|
"command": "just",
|
|
"args": [
|
|
"build"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "使用 just build 编译"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "构建 debug 版 chsrc",
|
|
"command": "just",
|
|
"args": [
|
|
"build-in-debug-mode"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"detail": "使用 just build-in-debug-mode 编译 debug 版"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "测试 chsrc",
|
|
"command": "just",
|
|
"args": [
|
|
"test"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "test",
|
|
"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"
|
|
}
|