Skip to content

Commit cbb6b22

Browse files
committed
chore: add Taskfile
1 parent 1dd3b78 commit cbb6b22

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist
33
node_modules
44
.vscode-test/
55
*.vsix
6+
.task

Taskfile.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: '3'
2+
3+
tasks:
4+
test:
5+
desc: Run tests
6+
cmds:
7+
- yarn run test
8+
9+
lint:
10+
desc: Run linter checks
11+
cmds:
12+
- yarn run lint
13+
14+
package:
15+
desc: Package extension into a .vsix file
16+
preconditions:
17+
- sh: command -v vsce
18+
msg: "vcse is required to package/publish\nhttps://code.visualstudio.com/api/working-with-extensions/publishing-extension"
19+
sources:
20+
- src/**/*
21+
- package.json
22+
generates:
23+
- "*.vsix"
24+
cmds:
25+
- vsce package --yarn

0 commit comments

Comments
 (0)