22 lines
604 B
JSON
22 lines
604 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "go: build",
|
|
"type": "shell",
|
|
"command": "go build ./...",
|
|
"group": { "kind": "build", "isDefault": true },
|
|
"problemMatcher": ["$go"]
|
|
},
|
|
{
|
|
"label": "go: test",
|
|
"type": "shell",
|
|
"command": "go test ./...",
|
|
"group": { "kind": "test", "isDefault": true },
|
|
"problemMatcher": ["$go"]
|
|
},
|
|
{ "label": "go: vet", "type": "shell", "command": "go vet ./...", "problemMatcher": ["$go"] },
|
|
{ "label": "go: tidy", "type": "shell", "command": "go mod tidy", "problemMatcher": [] }
|
|
]
|
|
}
|