File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,6 @@ tasks:
2020
2121 build :
2222 desc : ' Build all components'
23- deps :
24- - build:bin
25-
26- build:bin :
27- desc : ' Build all binaries'
2823 deps :
2924 - build:pago
3025 - build:pago-agent
@@ -63,9 +58,10 @@ tasks:
6358 - cmd/pago-agent/pago-agent
6459
6560 check :
66- desc : ' Build, lint, and test everything'
61+ desc : ' Build, format, lint, and test everything'
6762 deps :
6863 - build
64+ - format
6965 - lint
7066 - test
7167
@@ -74,21 +70,26 @@ tasks:
7470 cmds :
7571 - rm -f {{.PAGO_CMD_DIR}}/pago {{.PAGO_AGENT_CMD_DIR}}/pago-agent
7672
73+ format :
74+ desc : ' Format source code'
75+ cmds :
76+ - golangci-lint fmt
77+
7778 lint :
78- desc : ' Run golangci-lint '
79+ desc : ' Run linters '
7980 cmds :
8081 - golangci-lint run
8182
8283 release :
8384 desc : ' Prepare a release'
8485 deps :
85- - build:bin
86+ - build
8687 cmds :
8788 - VERSION=$({{.PAGO_CMD_DIR}}/pago version) go run script/release.go
8889
8990 test :
9091 desc : ' Run tests'
9192 deps :
92- - build:bin
93+ - build
9394 cmds :
9495 - go test ./...
You can’t perform that action at this time.
0 commit comments