-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
63 lines (52 loc) · 1.26 KB
/
Copy pathTaskfile.yml
File metadata and controls
63 lines (52 loc) · 1.26 KB
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'
tasks:
default:
desc: 'Default task is "build"'
deps:
- build
list:
desc: 'Lists available tasks'
cmds:
- task --list-all
build:
desc: 'Build all'
deps:
- you-tickercomplete-me
###############################################################################
go-tidy:
desc: 'Tidy all'
cmds:
- go mod tidy
go-update:
desc: 'Update Go dependencies'
cmds:
- go get -u ./...
clean:
desc: 'Clean'
cmds:
- rm -f bin/ticker-autocomplete-server bin/you-tickercomplete-me
you-tickercomplete-me:
desc: 'Build you-tickercomplete-me'
deps: [go-tidy]
cmds:
- go build -o bin/you-tickercomplete-me cmd/you-tickercomplete-me/*.go
sources:
- cmd/you-tickercomplete-me/*.go
- '**/*.go'
generates:
- bin/you-tickercomplete-me
###############################################################################
build-cassette:
desc: 'Build vhs cassette gifs'
deps: [build]
cmds:
- vhs --output tmp_ytcm.gif etc/ytcm.cassette
generates:
- tmp_ytcm.gif
publish-cassette:
desc: 'Publish vhs cassette gifs to Charm'
deps: [build-cassette]
cmds:
- vhs publish tmp_ytcm.gif
sources:
- tmp_ytcm.gif