Skip to content

Instantly share code, notes, and snippets.

@jmickey
Last active April 29, 2018 08:46
Show Gist options
  • Select an option

  • Save jmickey/bce692ffcc8267ab3e3a7ff868f95f63 to your computer and use it in GitHub Desktop.

Select an option

Save jmickey/bce692ffcc8267ab3e3a7ff868f95f63 to your computer and use it in GitHub Desktop.
VSCode tasks.json config for go build
{
"version": "2.0.0",
"type": "shell",
"echoCommand": true,
"cwd": "${workspaceFolder}",
"tasks": [
{
"label": "Go Build",
"command": "go",
"args": [
"build",
"-x",
"-o",
"./bin/${workspaceRootFolderName}"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment