-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
61 lines (48 loc) · 1.23 KB
/
Taskfile.yml
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
version: '3'
silent: true
tasks:
all:
desc: Runs compliance tests
cmds:
- task: compliance
build:
desc: Builds the project in debug mode
cmds:
- cmd: cargo +stable build
clean:
desc: Cleans all targets
cmds:
- cmd: cargo clean
- cmd: rm -rf output/*.csv
clippy:
desc: Runs clippy for all targets
cmds:
- cmd: cargo +stable clippy --all-targets
compliance:
desc: Runs tests configured in config-compliance.yml
cmds:
- cmd: cargo +stable run -- config-compliance.yml
debug:
desc: Runs tests configured in config-debug.yml
cmds:
- cmd: cargo +stable run -- config-debug.yml
doc:
desc: Generates documentation
cmds:
- cmd: cargo +stable doc --no-deps --document-private-items
doc-open:
desc: Generates documentation and opens it in browser
cmds:
- cmd: cargo +stable doc --no-deps --open --document-private-items
fmt:
desc: Runs code formatter
cmds:
- cmd: cargo +nightly fmt
musl:
desc: Builds the Linux MUSL target
cmds:
- cmd: cargo +stable build --release --target=x86_64-unknown-linux-musl
test:
desc: Runs tests in debug mode
cmds:
- cmd: cargo +stable test