diff options
Diffstat (limited to '.vscode/tasks.json')
| -rw-r--r-- | .vscode/tasks.json | 51 |
1 files changed, 43 insertions, 8 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 48093b7e..337d694f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -5,36 +5,71 @@ "label": "go: build", "type": "shell", "command": "go", - "args": ["build", "-o", "bin/3x-ui.exe", "./main.go"], + "args": [ + "build", + "-o", + "bin/3x-ui.exe", + "./main.go" + ], "options": { "cwd": "${workspaceFolder}" }, - "problemMatcher": ["$go"], - "group": { "kind": "build", "isDefault": true } + "problemMatcher": [ + "$go" + ], + "group": { + "kind": "build", + "isDefault": true + } }, { "label": "go: run", "type": "shell", "command": "go", - "args": ["run", "./main.go"], + "args": [ + "run", + "./main.go" + ], "options": { "cwd": "${workspaceFolder}", "env": { "XUI_DEBUG": "true" } }, - "problemMatcher": ["$go"] + "problemMatcher": [ + "$go" + ] }, { "label": "go: test", "type": "shell", "command": "go", - "args": ["test", "./..."], + "args": [ + "test", + "./..." + ], "options": { "cwd": "${workspaceFolder}" }, - "problemMatcher": ["$go"], + "problemMatcher": [ + "$go" + ], "group": "test" + }, + { + "label": "go: vet", + "type": "shell", + "command": "go", + "args": [ + "vet", + "./..." + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [ + "$go" + ] } ] -} +}
\ No newline at end of file |
