forked from crowdedev/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTaskfile.yml
More file actions
35 lines (35 loc) · 866 Bytes
/
Taskfile.yml
File metadata and controls
35 lines (35 loc) · 866 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
version: '3'
tasks:
commit:
cmds:
- git commit -am "{{.CLI_ARGS}}"
- git push
release:
cmds:
- git tag -a {{.CLI_ARGS}} -m "release {{.CLI_ARGS}}"
- git push origin {{.CLI_ARGS}}
module:
cmds:
- go run dumper/main.go
- go run cmd/main.go module {{.CLI_ARGS}}
- go mod tidy
- go run dumper/main.go
run:
cmds:
- go run dumper/main.go
- go run cmd/main.go run {{.CLI_ARGS}}
clean:
cmds:
- go mod tidy
- go run dumper/main.go
update:
cmds:
- go get -u
- go run dumper/main.go
dump:
cmds:
- go run dumper/main.go
generate:
cmds:
- go run dumper/main.go
- sh proto_gen.sh