tasks.json 654 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "version": "2.0.0",
  3. "command": "go",
  4. "type": "shell",
  5. "presentation": {
  6. "echo": true,
  7. "reveal": "always",
  8. "focus": false,
  9. "panel": "shared"
  10. },
  11. "tasks": [
  12. {
  13. "label": "build",
  14. "args": ["v2ray.com/core/..."],
  15. "group": "build",
  16. "problemMatcher": {
  17. "owner": "go",
  18. "fileLocation": ["relative", "${workspaceRoot}"],
  19. "pattern": {
  20. "regexp": "^([^:]+\\.go):(\\d+):(.*)",
  21. "file": 1,
  22. "line": 2,
  23. "message": 3
  24. }
  25. }
  26. },
  27. {
  28. "label": "test",
  29. "args": ["-p", "1", "v2ray.com/core/..."],
  30. "group": "test"
  31. }
  32. ]
  33. }