-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTaskfile.yml
55 lines (44 loc) · 817 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
version: '3'
tasks:
default:
deps:
- go-build
clean:
deps:
- go-clean
# Things we need to install to do dev work
# brew install ffmpeg
dev-deps:
cmds:
- go install github.com/charmbracelet/vhs@latest
###########################################################
## Golang
go-tidy:
cmds:
- go mod tidy
go-build:
deps:
- deeper
- simple
go-clean:
cmds:
- rm -f bin/*
go-update:
cmds:
- go get -u ./...
deeper:
deps: [go-tidy]
cmds:
- go build -o bin/deeper examples/deeper/*.go
sources:
- ./**/*.go
generates:
- bin/deeper
simple:
deps: [go-tidy]
cmds:
- go build -o bin/simple examples/simple/*.go
sources:
- ./**/*.go
generates:
- bin/simple