microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
.vscode/tasks.shared.json
82lines · modecode
| 1 | { |
| 2 | "version": "2.0.0", |
| 3 | "tasks": [ |
| 4 | { |
| 5 | "label": "Full build", |
| 6 | "type": "shell", |
| 7 | "command": "${command:python.interpreterPath}", |
| 8 | "args": ["build.py"], |
| 9 | "group": "build", |
| 10 | "options": {"cwd": "${workspaceFolder}"}, |
| 11 | }, |
| 12 | { |
| 13 | "label": "watch - npm", |
| 14 | "type": "npm", |
| 15 | "script": "tsc:watch", |
| 16 | "path": "npm", |
| 17 | "group": "build", |
| 18 | "problemMatcher": { |
| 19 | "base": "$tsc-watch", |
| 20 | "fileLocation":[ |
| 21 | "relative", |
| 22 | "${workspaceFolder}/source/npm" |
| 23 | ] |
| 24 | }, |
| 25 | "isBackground": true |
| 26 | }, |
| 27 | { |
| 28 | "label": "watch - playground", |
| 29 | "type": "npm", |
| 30 | "script": "tsc:watch", |
| 31 | "path": "playground", |
| 32 | "group": "build", |
| 33 | "problemMatcher": { |
| 34 | "base": "$tsc-watch", |
| 35 | "fileLocation":[ |
| 36 | "relative", |
| 37 | "${workspaceFolder}/source/playground" |
| 38 | ] |
| 39 | }, |
| 40 | "isBackground": true |
| 41 | }, |
| 42 | { |
| 43 | "label": "start - playground", |
| 44 | "type": "npm", |
| 45 | "script": "start", |
| 46 | "path": "playground", |
| 47 | "problemMatcher": { |
| 48 | "owner": "esbuild", |
| 49 | "fileLocation":[ |
| 50 | "relative", |
| 51 | "${workspaceFolder}/source/playground" |
| 52 | ], |
| 53 | "pattern":[ |
| 54 | { |
| 55 | "regexp": "^.*\\[ERROR\\] (.+)$", |
| 56 | "message": 1 |
| 57 | }, |
| 58 | { |
| 59 | "regexp": "^$" |
| 60 | }, |
| 61 | { |
| 62 | "regexp": "^ +(.*):([0-9]+):([0-9]+):$", |
| 63 | "file": 1, |
| 64 | "line": 2, |
| 65 | "column": 3 |
| 66 | } |
| 67 | ], |
| 68 | "background": { |
| 69 | "activeOnStart": false, |
| 70 | "beginsPattern": "^esbuild build started$", |
| 71 | "endsPattern": "^esbuild build complete$" |
| 72 | } |
| 73 | }, |
| 74 | "isBackground": true |
| 75 | }, |
| 76 | { |
| 77 | "label": "Watch & serve - npm & playground", |
| 78 | "dependsOn":["watch - npm", "watch - playground", "start - playground"], |
| 79 | "dependsOrder": "parallel" |
| 80 | } |
| 81 | ] |
| 82 | } |
| 83 | |