Skip to content

Commit 7960904

Browse files
committed
build: add vscode tasks
1 parent 3e2877b commit 7960904

2 files changed

Lines changed: 104 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/build
22
/.regolith
33
.DS_Store
4-
.vscode/
54
node_modules/
65
coverage/

.vscode/tasks.json

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "regolith: run default",
6+
"type": "shell",
7+
"command": "regolith run default",
8+
"problemMatcher": [],
9+
"group": {
10+
"kind": "build",
11+
"isDefault": true
12+
},
13+
"presentation": {
14+
"echo": true,
15+
"close": true
16+
}
17+
},
18+
{
19+
"label": "regolith: run preview",
20+
"type": "shell",
21+
"command": "regolith run preview",
22+
"problemMatcher": [],
23+
"group": "build",
24+
"presentation": {
25+
"echo": true,
26+
"close": true
27+
}
28+
},
29+
{
30+
"label": "regolith: run release",
31+
"type": "shell",
32+
"command": "regolith run release",
33+
"problemMatcher": [],
34+
"group": "build",
35+
"presentation": {
36+
"echo": true,
37+
"reveal": "always",
38+
"close": false
39+
}
40+
},
41+
{
42+
"label": "regolith: bump version",
43+
"type": "shell",
44+
"command": "regolith run bump-version",
45+
"problemMatcher": [],
46+
"presentation": {
47+
"echo": true,
48+
"reveal": "always",
49+
"panel": "new",
50+
"close": false
51+
}
52+
},
53+
{
54+
"label": "regolith: watch default",
55+
"type": "shell",
56+
"command": "regolith watch default",
57+
"isBackground": true,
58+
"problemMatcher": {
59+
"pattern": [
60+
{
61+
"regexp": ".",
62+
"file": 1,
63+
"location": 2,
64+
"message": 3
65+
}
66+
],
67+
"background": {
68+
"activeOnStart": true,
69+
"beginsPattern": ".",
70+
"endsPattern": "."
71+
}
72+
},
73+
"presentation": {
74+
"echo": true,
75+
"close": true
76+
}
77+
},
78+
{
79+
"label": "regolith: watch preview",
80+
"type": "shell",
81+
"command": "regolith watch preview",
82+
"isBackground": true,
83+
"problemMatcher": {
84+
"pattern": [
85+
{
86+
"regexp": ".",
87+
"file": 1,
88+
"location": 2,
89+
"message": 3
90+
}
91+
],
92+
"background": {
93+
"activeOnStart": true,
94+
"beginsPattern": ".",
95+
"endsPattern": "."
96+
}
97+
},
98+
"presentation": {
99+
"echo": true,
100+
"close": true
101+
}
102+
}
103+
]
104+
}

0 commit comments

Comments
 (0)