Skip to content

Commit 5bdf938

Browse files
authored
chore: configure dev env for cursor (#187)
1 parent 55577b5 commit 5bdf938

File tree

1 file changed

+48
-4
lines changed

1 file changed

+48
-4
lines changed

.vscode/tasks.json

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,36 @@
66
"focus": false,
77
"panel": "shared"
88
},
9+
"problemMatchers": [
10+
{
11+
"name": "esbuild-watch",
12+
"label": "esbuild watch",
13+
"owner": "esbuild",
14+
"source": "esbuild",
15+
"fileLocation": "relative",
16+
"pattern": [
17+
{
18+
"regexp": "^\\s*(.*):(\\d+):(\\d+):\\s+(error|warning):\\s+(.*)$",
19+
"file": 1,
20+
"line": 2,
21+
"column": 3,
22+
"severity": 4,
23+
"message": 5
24+
}
25+
],
26+
"background": {
27+
"activeOnStart": true,
28+
"beginsPattern": "^\\[watch\\] build started",
29+
"endsPattern": "^\\[watch\\] build (finished|failed)"
30+
}
31+
}
32+
],
933
"tasks": [
1034
{
1135
"label": "Build",
1236
"dependsOn": [
13-
"Core - Build",
14-
"Unittest - Build"
37+
"Core - Build Once",
38+
"Unittest - Build Once"
1539
],
1640
"presentation": {
1741
"reveal": "never",
@@ -22,13 +46,33 @@
2246
},
2347
"problemMatcher": []
2448
},
49+
{
50+
"type": "npm",
51+
"script": "esbuild-all",
52+
"group": "build",
53+
"problemMatcher": [],
54+
"label": "Core - Build Once",
55+
"presentation": {
56+
"reveal": "never"
57+
}
58+
},
59+
{
60+
"type": "npm",
61+
"script": "compile-tsc",
62+
"group": "build",
63+
"problemMatcher": "$tsc",
64+
"label": "Unittest - Build Once",
65+
"presentation": {
66+
"reveal": "never"
67+
}
68+
},
2569
{
2670
"type": "npm",
2771
"script": "compile-esbuild-watch",
2872
"group": "build",
2973
"problemMatcher": "$esbuild-watch",
3074
"isBackground": true,
31-
"label": "Core - Build",
75+
"label": "Core - Watch",
3276
"presentation": {
3377
"group": "buildWatchers",
3478
"reveal": "never"
@@ -40,7 +84,7 @@
4084
"group": "build",
4185
"problemMatcher": "$tsc-watch",
4286
"isBackground": true,
43-
"label": "Unittest - Build",
87+
"label": "Unittest - Watch",
4488
"presentation": {
4589
"group": "buildWatchers",
4690
"reveal": "never"

0 commit comments

Comments
 (0)