Skip to content

Commit 9e4bf3c

Browse files
committed
Add convenience tasks to taskfile
The idea is to have standardized "umbrella" tasks which group together related tasks and are present in every Task-based project.
1 parent 16b6989 commit 9e4bf3c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Taskfile.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,25 @@ vars:
66
sh: echo $(go list ./... | tr '\n' ' ')
77

88
tasks:
9+
build:
10+
desc: Build the project
11+
deps:
12+
- task: go:build
13+
14+
check:
15+
desc: Check for problems with the project
16+
deps:
17+
- task: general:check-spelling
18+
- task: go:lint
19+
- task: go:test
20+
- task: go:vet
21+
22+
format:
23+
desc: Correct the formatting of the project's files
24+
deps:
25+
- task: general:format-prettier
26+
- task: go:format
27+
928
go:build:
1029
desc: Build the project
1130
cmds:

0 commit comments

Comments
 (0)