tasks.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. // See https://go.microsoft.com/fwlink/?LinkId=733558
  3. // for the documentation about the tasks.json format
  4. "version": "2.0.0",
  5. "command": "gulp",
  6. "args": [],
  7. "type": "shell",
  8. "options": {
  9. "cwd": "${workspaceRoot}/Tools/Gulp"
  10. },
  11. "presentation": {
  12. "echo": true,
  13. "reveal": "always",
  14. "focus": false,
  15. "panel": "shared"
  16. },
  17. "tasks": [
  18. {
  19. "label": "run",
  20. "group": {
  21. "kind": "build",
  22. "isDefault": true
  23. },
  24. "isBackground": true,
  25. "problemMatcher": {
  26. "owner": "typescript",
  27. "fileLocation": "relative",
  28. "pattern": {
  29. "regexp": "^([^\\s].*)\\((\\d+|\\,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
  30. "file": 1,
  31. "location": 2,
  32. "severity": 3,
  33. "code": 4,
  34. "message": 5
  35. },
  36. "background": {
  37. "activeOnStart": true,
  38. "beginsPattern": "Starting \\'watch\\'",
  39. "endsPattern": "Finished \\'run\\'"
  40. }
  41. }
  42. },
  43. {
  44. "taskName": "typescript-all",
  45. "isBuildCommand": true,
  46. "problemMatcher": [
  47. "$tsc"
  48. ]
  49. },
  50. {
  51. "label": "serve-viewer",
  52. "type": "npm",
  53. "script": "start:server",
  54. "path": "Viewer/",
  55. "problemMatcher": [
  56. {
  57. "owner": "webpack-dev-server",
  58. "pattern": {
  59. "regexp": "^([^\\s].*)\\((\\d+|\\,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
  60. "file": 1,
  61. "location": 2,
  62. "severity": 3,
  63. "code": 4,
  64. "message": 5
  65. },
  66. "background": {
  67. "activeOnStart": true,
  68. "beginsPattern": "Project is running at",
  69. "endsPattern": "Compiled successfully."
  70. }
  71. }
  72. ],
  73. "isBackground": true
  74. }
  75. ]
  76. }