{ "version": "2.0.0", "tasks": [ { "label": "Build CoreDNS", "type": "shell", "command": "go generate && go build -gcflags='all=-N -l' -o coredns", "options": { "cwd": "${workspaceFolder}/../coredns", "env": { "GOWORK": "${workspaceFolder}/../coredns/go.work" } }, "group": { "kind": "build", "isDefault": true }, "problemMatcher": ["$go"] } ] }