2025-09-18 12:33:51 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "go: build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "go",
|
2025-10-01 23:47:12 +00:00
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"-o",
|
|
|
|
"bin/3x-ui.exe",
|
|
|
|
"./main.go"
|
|
|
|
],
|
2025-09-18 12:33:51 +00:00
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
2025-10-01 23:47:12 +00:00
|
|
|
"problemMatcher": [
|
|
|
|
"$go"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2025-09-18 12:33:51 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "go: run",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "go",
|
2025-10-01 23:47:12 +00:00
|
|
|
"args": [
|
|
|
|
"run",
|
|
|
|
"./main.go"
|
|
|
|
],
|
2025-09-18 12:33:51 +00:00
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"env": {
|
|
|
|
"XUI_DEBUG": "true"
|
|
|
|
}
|
|
|
|
},
|
2025-10-01 23:47:12 +00:00
|
|
|
"problemMatcher": [
|
|
|
|
"$go"
|
|
|
|
]
|
2025-09-18 12:33:51 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "go: test",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "go",
|
2025-10-01 23:47:12 +00:00
|
|
|
"args": [
|
|
|
|
"test",
|
|
|
|
"./..."
|
|
|
|
],
|
2025-09-18 12:33:51 +00:00
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
2025-10-01 23:47:12 +00:00
|
|
|
"problemMatcher": [
|
|
|
|
"$go"
|
|
|
|
],
|
2025-09-18 12:33:51 +00:00
|
|
|
"group": "test"
|
2025-10-01 23:47:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "go: vet",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "go",
|
|
|
|
"args": [
|
|
|
|
"vet",
|
|
|
|
"./..."
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
"$go"
|
|
|
|
]
|
2025-09-18 12:33:51 +00:00
|
|
|
}
|
|
|
|
]
|
2025-10-01 23:47:12 +00:00
|
|
|
}
|