-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
99 lines (83 loc) · 1.78 KB
/
Taskfile.yml
File metadata and controls
99 lines (83 loc) · 1.78 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: "3"
run: once
vars:
RUST_TARGET_DIR: '{{.RUST_TARGET_DIR | default "target"}}'
includes:
rust: ./Taskfile.rust.yml
docs: ./Taskfile.docs.yml
tasks:
default:
desc: Show available tasks
cmds:
- task --list
silent: true
setup:
desc: Install toolchains and project dependencies
deps:
- rust:install-tools
- docs:deps
- rust:bindings:deps
deps:
desc: Ensure all project dependencies are installed
deps:
- docs:deps
- rust:bindings:deps
format:
desc: Format Rust and TypeScript sources
deps:
- rust:format
- rust:bindings:format
- docs:format
lint:
desc: Run non-destructive lint and type checks across the repo
deps:
- rust:lint
- docs:lint
- lint:typos
lint:fix:
desc: Auto-fix lint issues across all projects (safe operations only)
deps:
- rust:lint:fix
- docs:lint:fix
- lint:typos:fix
lint:typos:
desc: Run typos
cmds:
- typos
lint:typos:fix:
desc: Auto-fix typos
cmds:
- typos --write
test:
desc: Run unit and integration test suites
deps:
- rust:test
test:e2e:
desc: Execute the full end-to-end test flow
cmds:
- ./scripts/e2e-test.sh
build:
desc: Build all binaries and bundles
deps:
- rust:build
- docs:build
check:
desc: Run lightweight validation (lint + tests)
cmds:
- task: lint
- task: test
ci:
desc: Run the full CI pipeline
cmds:
- task: lint
- task: rust:lint:strict
- task: test
- task: rust:test:release
- task: test:e2e
- task: rust:doc
- task: docs:build
clean:
desc: Remove build artifacts across all projects
deps:
- rust:clean
- docs:clean