-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
55 lines (43 loc) · 863 Bytes
/
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
version: '3'
silent: true
dotenv: ['.env']
tasks:
b:
cmds:
- go build ./...
t:
cmds:
- go test ./...
dry:
cmds:
- ginkgo -v --dry-run ./...
watchv:
cmds:
- ginkgo watch -v -r -p ./...
watch:
cmds:
- ginkgo watch -r -p ./...
# initialise a test suite for a package. (only 1 per package)
boot:
cmds:
- ginkgo bootstrap
# run tests suites recursive
g:
cmds:
- ginkgo -r
# invoke as task gen -- <item>
gl:
cmds:
- ginkgo -r --label-filter={{.CLI_ARGS}}
# run tests suites recursive with verbose
gv:
cmds:
- ginkgo -r -v
# generate a test file for the item provided (item_test.go)
# invoke as task gen -- <item>
gen:
cmds:
- ginkgo generate {{.CLI_ARGS}}
cover:
cmds:
- goveralls -repotoken {{.COVERALLS_TOKEN}}