-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yaml
174 lines (169 loc) · 3.38 KB
/
Taskfile.yaml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
version: '3'
dotenv: ['.env', '{{.ENV}}/.env.', '{{.HOME}}/.env']
tasks:
test:
deps: [test-aws,test-cerrors,test-envlookup,test-errgroup,test-osext,test-sql-escape,test-tspb_cast,test-ulid,test-utf8bom]
test-aws:
dir: aws
cmds:
- docker compose up -d
- defer: docker compose down
- sleep 5
- go test ./...
test-cerrors:
dir: cerrors
cmds:
- go test ./...
test-envlookup:
dir: envlookup
cmds:
- go test ./...
test-errgroup:
dir: errgroup
cmds:
- go test ./...
test-osext:
dir: osext
cmds:
- go test ./...
test-sql-escape:
dir: sql-escape
cmds:
- go test ./...
test-tspb_cast:
dir: tspb_cast
cmds:
- go test ./...
test-ulid:
dir: ulid
cmds:
- go test ./...
test-utf8bom:
dir: utf8bom
cmds:
- go test ./...
go-mod-tidy:
deps: [
go-mod-tidy-aws,go-mod-tidy-cerrors,go-mod-tidy-envlookup,go-mod-tidy-errgroup,go-mod-tidy-osext,
go-mod-tidy-sql-escape,go-mod-tidy-tspb_cast,go-mod-tidy-ulid,go-mod-tidy-utf8bom,
]
go-mod-tidy-aws:
dir: aws
cmds:
- go mod tidy
go-mod-tidy-cerrors:
dir: cerrors
cmds:
- go mod tidy
go-mod-tidy-envlookup:
dir: envlookup
cmds:
- go mod tidy
go-mod-tidy-errgroup:
dir: errgroup
cmds:
- go mod tidy
go-mod-tidy-osext:
dir: osext
cmds:
- go mod tidy
go-mod-tidy-sql-escape:
dir: sql-escape
cmds:
- go mod tidy
go-mod-tidy-tspb_cast:
dir: tspb_cast
cmds:
- go mod tidy
go-mod-tidy-ulid:
dir: ulid
cmds:
- go mod tidy
go-mod-tidy-utf8bom:
dir: utf8bom
cmds:
- go mod tidy
go-oif:
deps: [
go-oif-aws,go-oif-cerrors,go-oif-envlookup,go-oif-errgroup,go-oif-osext,
go-oif-sql-escape,go-oif-tspb_cast,go-oif-ulid,go-oif-utf8bom,
]
go-oif-aws:
dir: aws
cmds:
- go-oif ./...
go-oif-cerrors:
dir: cerrors
cmds:
- go-oif ./...
go-oif-envlookup:
dir: envlookup
cmds:
- go-oif ./...
go-oif-errgroup:
dir: errgroup
cmds:
- go-oif ./...
go-oif-osext:
dir: osext
cmds:
- go-oif ./...
go-oif-sql-escape:
dir: sql-escape
cmds:
- go-oif ./...
go-oif-tspb_cast:
dir: tspb_cast
cmds:
- go-oif ./...
go-oif-ulid:
dir: ulid
cmds:
- go-oif ./...
go-oif-utf8bom:
dir: utf8bom
cmds:
- go-oif ./...
go-mod-updates:
deps: [
go-mod-update-aws,go-mod-update-cerrors,go-mod-update-envlookup,go-mod-update-errgroup,go-mod-update-osext,
go-mod-update-sql-escape,go-mod-update-tspb_cast,go-mod-update-ulid,go-mod-update-utf8bom,
]
cmds:
- task go-mod-tidy
go-mod-update-aws:
dir: aws
cmds:
- go get -u ./...
go-mod-update-cerrors:
dir: cerrors
cmds:
- go get -u ./...
go-mod-update-envlookup:
dir: envlookup
cmds:
- go get -u ./...
go-mod-update-errgroup:
dir: errgroup
cmds:
- go get -u ./...
go-mod-update-osext:
dir: osext
cmds:
- go get -u ./...
go-mod-update-sql-escape:
dir: sql-escape
cmds:
- go get -u ./...
go-mod-update-tspb_cast:
dir: tspb_cast
cmds:
- go get -u ./...
go-mod-update-ulid:
dir: ulid
cmds:
- go get -u ./...
go-mod-update-utf8bom:
dir: utf8bom
cmds:
- go get -u ./...