microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
cd27a87d48102f7ee25218755038ddf207a13ff5

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.vscode/tasks.json

109lines · modecode

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 "tasks": [
6 {
7 "label": "watch",
8 "dependsOn": ["watch-tmlanguage", "watch-spec", "watch-source"],
9 "dependsOrder": "parallel",
10 "group": {
11 "kind": "build",
12 "isDefault": true
13 }
14 },
15 {
16 "label": "watch-source",
17 "type": "process",
18 "command": "node",
19 "args": [
20 "${workspaceFolder}/node_modules/typescript/lib/tsc.js",
21 "--build",
22 "./tsconfig.ws.json",
23 "--watch"
24 ],
25 "isBackground": true,
26 "problemMatcher": "$tsc-watch",
27 "presentation": {
28 "echo": true,
29 "reveal": "always",
30 "focus": false,
31 "panel": "dedicated",
32 "showReuseMessage": false,
33 "clear": true
34 }
35 },
36 {
37 "label": "watch-tmlanguage",
38 "type": "process",
39 "command": "node",
40 "args": ["${workspaceFolder}/packages/compiler/scripts/watch-tmlanguage.js"],
41 "problemMatcher": {
42 "base": "$msCompile",
43 "background": {
44 "activeOnStart": true,
45 "beginsPattern": "^.*File change detected.*$",
46 "endsPattern": "^.*Waiting for file changes.*$"
47 }
48 },
49 "isBackground": true,
50 "options": {
51 "cwd": "${workspaceFolder}/packages/compiler"
52 },
53 "presentation": {
54 "echo": true,
55 "reveal": "always",
56 "focus": false,
57 "panel": "dedicated",
58 "showReuseMessage": false,
59 "clear": true
60 }
61 },
62 {
63 "label": "watch-spec",
64 "type": "process",
65 "command": "node",
66 "args": ["${workspaceFolder}/packages/spec/scripts/watch-spec.js"],
67 "problemMatcher": {
68 "base": "$msCompile",
69 "background": {
70 "activeOnStart": true,
71 "beginsPattern": "^.*File change detected.*$",
72 "endsPattern": "^.*Waiting for file changes.*$"
73 }
74 },
75 "isBackground": true,
76 "options": {
77 "cwd": "${workspaceFolder}/packages/spec"
78 },
79 "presentation": {
80 "echo": true,
81 "reveal": "always",
82 "focus": false,
83 "panel": "dedicated",
84 "showReuseMessage": false,
85 "clear": true
86 }
87 },
88 {
89 "label": "test",
90 "type": "shell",
91 "options": {
92 "cwd": "${workspaceFolder}/packages/typespec"
93 },
94 "command": "npm test",
95 "group": {
96 "kind": "test",
97 "isDefault": true
98 },
99 "presentation": {
100 "echo": true,
101 "reveal": "always",
102 "focus": false,
103 "panel": "shared",
104 "showReuseMessage": false,
105 "clear": true
106 }
107 }
108 ]
109}