Created
June 11, 2016 17:19
-
-
Save chappjc/dc49686a4585420ff7d2b4280655b38f to your computer and use it in GitHub Desktop.
Golang tasks for Visual Studio Code - 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.1.0", | |
| "command": "bash", | |
| "isShellCommand": true, | |
| "showOutput": "always", | |
| "args": [ | |
| "-c" | |
| ], | |
| "tasks": [ | |
| { | |
| "taskName": "go-inst-run", | |
| "suppressTaskName": true, | |
| "isBuildCommand": true, | |
| "args": [ | |
| "go install && appName" | |
| ] | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.1.0", | |
| "command": "go", | |
| "isShellCommand": true, | |
| "showOutput": "always", | |
| "options": { | |
| "env": { | |
| } | |
| }, | |
| "tasks": [ | |
| { | |
| "taskName": "install", | |
| "args": [ "-v", "./..."], | |
| "isBuildCommand": true | |
| }, | |
| { | |
| "taskName": "build", | |
| "args": [ "-v", "./..."], | |
| "isBuildCommand": true | |
| }, | |
| { | |
| "taskName": "test", | |
| "args": [ "-v", "./..."], | |
| "isTestCommand": true | |
| } | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that having multiple
isBuildCommandset to true tends to confuse VS code. I'd just pick one.