-
-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathtasks.json
More file actions
174 lines (174 loc) · 3.91 KB
/
tasks.json
File metadata and controls
174 lines (174 loc) · 3.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"dependsOn": [
"Populate dist",
"ESBuild",
"TSBuild",
"Build test harness"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build extension only",
"dependsOn": ["Populate dist", "ESBuild"],
"group": "build"
},
{
"label": "ESBuild",
"type": "npm",
"script": "esbuild",
"path": "packages/cursorless-vscode",
"dependsOn": ["Generate grammar"],
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Build tutorial webview",
"type": "npm",
"script": "build:dev",
"path": "packages/cursorless-vscode-tutorial-webview",
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Build test harness",
"type": "npm",
"script": "build",
"path": "packages/test-harness",
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "TSBuild",
"type": "npm",
"script": "compile",
"problemMatcher": "$tsc",
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Populate dist",
"type": "npm",
"script": "populate-dist",
"path": "packages/cursorless-vscode",
"dependsOn": ["Build tutorial webview"],
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Generate grammar",
"type": "npm",
"script": "generate-grammar",
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Ensure test subset file exists",
"type": "npm",
"script": "generate-test-subset-file-strict",
"path": "packages/test-harness",
"presentation": {
"reveal": "silent"
},
"group": "test"
},
{
"label": "Generate test subset file",
"type": "npm",
"script": "generate-test-subset-file",
"path": "packages/test-harness",
"presentation": {
"reveal": "silent"
},
"group": "none",
"problemMatcher": []
},
{
"label": "Prepare test subset",
"dependsOn": ["Ensure test subset file exists", "Build"],
"dependsOrder": "sequence",
"group": "test"
},
{
"label": "watch",
"dependsOn": ["Watch esbuild", "Watch typescript"],
"group": "build"
},
{
"label": "watch tutorial",
"type": "npm",
"script": "watch:tailwind",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"path": "packages/cursorless-vscode-tutorial-webview",
"group": "build"
},
{
"type": "npm",
"script": "watch:esbuild",
"label": "Watch esbuild",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": "build"
},
{
"type": "npm",
"script": "watch:tsc",
"label": "Watch typescript",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": "build"
},
{
"label": "Serve cursorless.org",
"type": "shell",
"command": "nx serve cursorless-org",
"options": {
"cwd": "cursorless-nx"
},
"problemMatcher": []
},
{
"label": "Install local",
"type": "shell",
"command": "vsce package -o bundle.vsix && code --install-extension bundle.vsix",
"presentation": {
"focus": true
},
"problemMatcher": []
},
{
"label": "Run pre commit",
"type": "shell",
"command": "pre-commit run",
"presentation": {}
}
]
}