tasks.json 653 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "version": "0.1.0",
  3. "command": "go",
  4. "isShellCommand": true,
  5. "showOutput": "always",
  6. "tasks": [
  7. {
  8. "taskName": "build",
  9. "args": ["-tags", "json", "github.com/v2ray/v2ray-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": ["-tags", "json", "github.com/v2ray/v2ray-core/..."],
  25. "isBuildCommand": false
  26. }
  27. ]
  28. }