tasks.json 587 B

12345678910111213141516171819202122232425262728
  1. {
  2. "version": "0.1.0",
  3. "command": "go",
  4. "isShellCommand": true,
  5. "showOutput": "always",
  6. "tasks": [
  7. {
  8. "taskName": "build",
  9. "args": ["v2ray.com/core/..."],
  10. "isBuildCommand": true,
  11. "problemMatcher": {
  12. "owner": "go",
  13. "fileLocation": ["relative", "${workspaceRoot}"],
  14. "pattern": {
  15. "regexp": "^([^:]+\\.go):(\\d+):(.*)",
  16. "file": 1,
  17. "line": 2,
  18. "message": 3
  19. }
  20. }
  21. },
  22. {
  23. "taskName": "test",
  24. "args": ["v2ray.com/core/..."],
  25. "isBuildCommand": false
  26. }
  27. ]
  28. }