Skip to content

Commit bf1887c

Browse files
committed
build(task): switch to kebab case for task names
The style guide recommends kebab case.
1 parent a7b3c42 commit bf1887c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Taskfile.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ tasks:
2121
build:
2222
desc: 'Build all components'
2323
deps:
24-
- build_pago
25-
- build_pago_agent
24+
- build-pago
25+
- build-pago-agent
2626

27-
build_pago:
27+
build-pago:
2828
dir: '{{.pago_cmd_dir}}'
2929
desc: 'Build the pago executable'
3030
cmds:
@@ -35,7 +35,7 @@ tasks:
3535
generates:
3636
- pago
3737

38-
build_pago_agent:
38+
build-pago-agent:
3939
dir: '{{.pago_agent_cmd_dir}}'
4040
desc: 'Build the pago agent executable'
4141
cmds:
@@ -54,14 +54,14 @@ tasks:
5454
release:
5555
desc: 'Prepare a release'
5656
deps:
57-
- build_pago
57+
- build-pago
5858
cmds:
5959
- VERSION=$({{.pago_cmd_dir}}/pago{{.ext}} version) go run script/release.go
6060

6161
test:
6262
desc: 'Run tests'
6363
deps:
64-
- build_pago
65-
- build_pago_agent
64+
- build-pago
65+
- build-pago-agent
6666
cmds:
6767
- go test ./...

0 commit comments

Comments
 (0)