-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
47 lines (42 loc) · 1.14 KB
/
Taskfile.yml
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
---
version: '3'
# This Taskfile represents the primary control surface for developers interacting with
# this component.
#
# Primary "configure/build/deploy/test" tasks must be provided directly in this top level
# taskfile
#
# Infrequently used or pure sub-tasks should be in subservient taskfiles and included
# here.
#
# All tasks that are expected to be run directly by developers must have a meaningful
# 'desc' with all optional variables defined, in this file or in included files.
#
# All tasks that are internal sub-tasks only should have a meaningful 'summary'.
#
includes:
codeqa:
taskfile: ./taskfiles/Taskfile_codeqa.yml
dir: ./taskfiles
gobuild:
taskfile: ./taskfiles/Taskfile_gobuild.yml
dir: ./taskfiles
gotest:
taskfile: ./taskfiles/Taskfile_gotest.yml
dir: ./taskfiles
tasks:
codeqa:
desc: |
format the source and run all the quality checks
(Does not run unit tests)
cmds:
- task: codeqa:format
- task: codeqa:lint
build:
desc: ensure go build works for all packages
cmds:
- task: gobuild:build
test:
desc: run the tests
cmds:
- task: gotest:unit