-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
47 lines (39 loc) · 714 Bytes
/
Taskfile.yml
File metadata and controls
47 lines (39 loc) · 714 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
42
43
44
45
46
47
version: '3'
env:
CGO_ENABLED: 0
tasks:
default:
deps:
- all
all:
desc: 'Build and test everything'
deps:
- test
build:
desc: 'Build all components'
deps:
- build-regular
build-regular:
desc: 'Build the Regular binary'
cmds:
- cmd: go build -trimpath
sources:
- '*.go'
generates:
- regular
clean:
desc: 'Clean up binaries'
cmds:
- rm -f regular regular.exe
release:
desc: 'Prepare a release'
deps:
- build-regular
cmds:
- VERSION=$(./regular{{exeExt}} --version) go run script/release.go
test:
desc: 'Run tests'
deps:
- build-regular
cmds:
- go test ./...