-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
40 lines (35 loc) · 753 Bytes
/
Taskfile.yaml
File metadata and controls
40 lines (35 loc) · 753 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
36
37
38
39
40
---
version: "3"
vars:
PROJECT_DIR:
sh: "git rev-parse --show-toplevel"
includes:
pre-commit:
taskfile: .taskfiles/pre-commit.yaml
optional: true
aliases: [pc]
build:
taskfile: .taskfiles/build.yaml
optional: false
aliases: [b]
quality:
taskfile: .taskfiles/quality.yaml
optional: false
aliases: [q]
tasks:
default:
desc: Build project in release mode
cmds:
- task: build:release
setup:
desc: Install local development hooks and run baseline checks
cmds:
- task: pre-commit:init
- task: quality:format
- task: build:all
ci:
desc: Run complete local CI equivalent
cmds:
- task: build:clean
- task: build:all
- task: quality:lint