-
-
Notifications
You must be signed in to change notification settings - Fork 218
Expand file tree
/
Copy pathTaskfile.yml
More file actions
37 lines (30 loc) · 741 Bytes
/
Taskfile.yml
File metadata and controls
37 lines (30 loc) · 741 Bytes
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
version: 3
tasks:
lint:
cmds:
- golangci-lint run
fmt:
cmds:
- golangci-lint run --fix
test:
desc: Run tests with race detection
env:
CGO_ENABLED: 1
cmds:
- go test -race ./...
animations:
desc: Render and publish example animations with VHS
cmds:
- scripts/animate.sh
animations:dry:
desc: Render examples locally without publishing or updating docs
cmds:
- scripts/animate.sh --dry-run
animate:
desc: Render one example locally, e.g. task animate -- logger/default
cmds:
- scripts/animate.sh --example "{{.CLI_ARGS}}"
unittestcount:
desc: Update the README unit test count badge
cmds:
- scripts/update-unittestcount.sh