-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaskfile.yaml
54 lines (49 loc) · 1.04 KB
/
taskfile.yaml
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
48
49
50
51
52
53
54
version: "3"
tasks:
check:clang-format:
desc: "Check - clang-format"
cmds:
- clang-format -n -Werror --verbose $(git ls-files | grep -E
'\.hpp$|\.cpp$')
check:github-actions:
desc: "Check - Github actions"
cmds:
- yarn run check:github-actions
check:prettier:
desc: "Check - prettier"
cmds:
- yarn run check:prettier
check:renovateconfig:
desc: "Check - Renovate config"
cmds:
- yarn run check:renovateconfig
check:yarn:dedupe:
desc: "Check - yarn dedupe"
cmds:
- yarn run check:yarn:dedupe
check:
desc: "All checks"
deps:
- check:clang-format
- check:github-actions
- check:prettier
- check:renovateconfig
- check:yarn:dedupe
fix:format:prettier:
desc: "Fix - prettier"
cmds:
- yarn run fix:prettier
fix:format:
desc: "All fixes"
deps:
- fix:format:prettier
fix:
desc: "All fixes"
deps:
- fix:format
all:
desc: "All tasks"
aliases:
- default
deps:
- check