| { |
| "version": "2.0.0", |
| "tasks": [ |
| // Assumes $workspaceRoot is vscode-language-fidl |
| { |
| "label": "build-syntax", |
| "type": "shell", |
| "command": "npm", |
| "options": { |
| "cwd": "${workspaceRoot}", |
| }, |
| "args": [ |
| "run-script", |
| "build-syntax" |
| ], |
| "group": { |
| "kind": "build", |
| "isDefault": true |
| }, |
| "presentation": { |
| "echo": true, |
| "reveal": "silent", |
| "focus": true, |
| "panel": "shared", |
| "showReuseMessage": true, |
| "clear": false |
| }, |
| }, |
| // Assumes $workspaceRoot is vscode-language-fidl |
| { |
| "label": "build-extension", |
| "type": "shell", |
| "command": "../fidl-lsp/build-vscode.sh", |
| "options": { |
| "cwd": "${workspaceRoot}", |
| }, |
| "dependsOn": [ |
| "build-syntax", |
| ], |
| "group": { |
| "kind": "build", |
| "isDefault": true |
| }, |
| "presentation": { |
| "echo": true, |
| "reveal": "silent", |
| "focus": true, |
| "panel": "shared", |
| "showReuseMessage": true, |
| "clear": false |
| }, |
| } |
| ] |
| } |