-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
63 lines (50 loc) · 1.13 KB
/
Taskfile.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
version: '3'
includes:
codequality:
taskfile: ./taskfiles/Taskfile_codequality.yml
dir: ./taskfiles
gobuild:
taskfile: ./taskfiles/Taskfile_gobuild.yml
dir: ./taskfiles
gotest:
taskfile: ./taskfiles/Taskfile_gotest.yml
dir: ./taskfiles
azurite:
taskfile: ./taskfiles/Taskfile_azurite.yml
dir: ./taskfiles
tasks:
default:
desc: defaults to listing the available task runes
cmds:
- cmd: |
task --list
build:fast:
desc: ensure go build works for all modules
cmds:
- task: gobuild:go:build
build:clean:
desc: ensure go build works for all modules
cmds:
- task: gobuild:go:build
format:
desc: formats the code correctly
cmds:
- task: codequality:format
lint:
desc: lints the go code
cmds:
- task: codequality:lint
go:modules:
desc: tidies the go modules
cmds:
- task: codequality:modules
test:unit:
desc: run the unit tests
cmds:
- task: gotest:go:unit
test:integration:
desc: run the unit tests
cmds:
- task: azurite:preflight
- task: gotest:go:azurite