-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
41 lines (33 loc) · 764 Bytes
/
Copy pathTaskfile.yml
File metadata and controls
41 lines (33 loc) · 764 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
41
version: '3'
tasks:
default:
desc: List available tasks
cmds: [task --list-all]
build:
desc: cargo build --workspace
cmds: [cargo build --workspace]
test:
desc: cargo test --workspace
cmds: [cargo test --workspace]
lint:
desc: cargo clippy + rustfmt --check
cmds:
- cargo clippy --workspace -- -D warnings
- cargo fmt --check
fmt:
desc: cargo fmt
cmds: [cargo fmt]
audit:
desc: cargo deny check + cargo audit
cmds:
- cargo deny check
- cargo audit
ci:
desc: Run full local CI sweep (lint + test + audit)
cmds:
- task: lint
- task: test
- task: audit
docs:
desc: cargo doc --no-deps --workspace
cmds: [cargo doc --no-deps --workspace]