mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-30 00:23:16 +08:00
Update tasks.json
according to the new justfile
This commit is contained in:
parent
168cce314f
commit
789240dd2f
114
.vscode/tasks.json
vendored
114
.vscode/tasks.json
vendored
@ -1,56 +1,62 @@
|
|||||||
{
|
{
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"label": "构建 chsrc",
|
"label": "构建 chsrc",
|
||||||
"command": "just",
|
"command": "just",
|
||||||
"args": ["build"],
|
"args": [
|
||||||
"options": {
|
"build"
|
||||||
"cwd": "${workspaceFolder}"
|
],
|
||||||
},
|
"options": {
|
||||||
"problemMatcher": [
|
"cwd": "${workspaceFolder}"
|
||||||
"$gcc"
|
},
|
||||||
],
|
"problemMatcher": [
|
||||||
"group": {
|
"$gcc"
|
||||||
"kind": "build",
|
],
|
||||||
"isDefault": true
|
"group": {
|
||||||
},
|
"kind": "build",
|
||||||
"detail": "使用 just build 编译"
|
"isDefault": true
|
||||||
},
|
},
|
||||||
{
|
"detail": "使用 just build 编译"
|
||||||
"type": "shell",
|
},
|
||||||
"label": "构建 debug 版 chsrc",
|
{
|
||||||
"command": "just",
|
"type": "shell",
|
||||||
"args": ["DEBUG=1", "build"],
|
"label": "构建 debug 版 chsrc",
|
||||||
"options": {
|
"command": "just",
|
||||||
"cwd": "${workspaceFolder}"
|
"args": [
|
||||||
},
|
"build-in-debug-mode"
|
||||||
"problemMatcher": [
|
],
|
||||||
"$gcc"
|
"options": {
|
||||||
],
|
"cwd": "${workspaceFolder}"
|
||||||
"group": {
|
},
|
||||||
"kind": "build",
|
"problemMatcher": [
|
||||||
"isDefault": false
|
"$gcc"
|
||||||
},
|
],
|
||||||
"detail": "使用 just DEBUG=1 build 编译 debug 版"
|
"group": {
|
||||||
},
|
"kind": "build",
|
||||||
{
|
"isDefault": false
|
||||||
"type": "shell",
|
},
|
||||||
"label": "测试 chsrc",
|
"detail": "使用 just build-in-debug-mode 编译 debug 版"
|
||||||
"command": "just",
|
},
|
||||||
"args": ["test"],
|
{
|
||||||
"options": {
|
"type": "shell",
|
||||||
"cwd": "${workspaceFolder}"
|
"label": "测试 chsrc",
|
||||||
},
|
"command": "just",
|
||||||
"problemMatcher": [
|
"args": [
|
||||||
"$gcc"
|
"test"
|
||||||
],
|
],
|
||||||
"group": {
|
"options": {
|
||||||
"kind": "test",
|
"cwd": "${workspaceFolder}"
|
||||||
"isDefault": true
|
},
|
||||||
},
|
"problemMatcher": [
|
||||||
"detail": "使用 just test 测试"
|
"$gcc"
|
||||||
}
|
],
|
||||||
],
|
"group": {
|
||||||
"version": "2.0.0"
|
"kind": "test",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"detail": "使用 just test 测试"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": "2.0.0"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user