-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
50 lines (40 loc) · 731 Bytes
/
Copy pathTaskfile.yaml
File metadata and controls
50 lines (40 loc) · 731 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
42
43
44
45
46
47
48
49
50
version: '3'
# vars:
# BINARY_NAME: my_rust_app
tasks:
default:
desc: Show available tasks
cmds:
- task --list
help:
desc: Run the Rust application
cmds:
- cargo run -- --help
run:
desc: Run the Rust application
cmds:
- cargo run -- {{.CLI_ARGS}}
build:
desc: Build release binary
cmds:
- cargo build --release
check:
desc: Check code without building
cmds:
- cargo check
test:
desc: Run tests
cmds:
- cargo test
fmt:
desc: Format code
cmds:
- cargo fmt
lint:
desc: Run clippy linter
cmds:
- cargo clippy -- -D warnings
clean:
desc: Clean build artifacts
cmds:
- cargo clean