Skip to content

Instantly share code, notes, and snippets.

@gpant
Last active January 5, 2023 19:21
vscode tasks for building with go
{
"version": "0.1.0",
"command": "go",
"isShellCommand": true,
"showOutput": "always",
"tasks": [{
"taskName": "build",
"args": ["-v", ""],
"isBuildCommand": true
}]
}
{
"version": "0.1.0",
"command": "go",
"isShellCommand": true,
"showOutput": "always",
"options": {
"env": {
"GOPATH": "C:\\Users\\Earentir\\Documents\\Projects\\git\\Go"
}
},
"tasks": [{
"taskName": "build",
"args": ["-v", ""],
"isBuildCommand": true
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment