-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathTaskfile.yml
More file actions
41 lines (40 loc) · 780 Bytes
/
Taskfile.yml
File metadata and controls
41 lines (40 loc) · 780 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
38
39
40
41
# https://taskfile.dev
version: "3"
tasks:
release:
desc: build and publish release
cmds:
- test {{.CLI_ARGS}}
- grep -F '"{{.CLI_ARGS}}"' build.zig.zon
- git tag {{.CLI_ARGS}}
- git push
- git push --tags
- gh release create --generate-notes {{.CLI_ARGS}}
format:
desc: "run code formatters"
cmds:
- zig fmt .
test:audio:
dir: examples/audio
cmds:
- zig build
test:input:
dir: examples/input
cmds:
- zig build
test:triangle:
dir: examples/triangle
cmds:
- zig build
test:
desc: "run tests"
cmds:
- task: test:audio
- task: test:input
- task: test:triangle
all:
cmds:
- task: format
- task: test
default:
- task: all