-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
58 lines (47 loc) · 970 Bytes
/
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
version: "3"
interval: 100ms
dotenv: [".env"]
tasks:
default:
watch: true
sources:
- "src/**/*.rs"
cmds:
- task: bin-build
- task: test
- task: fmt
- task: clippy
build:
deps: [test, fmt, clippy] # license_check, Deny fails RN due to an old parquet version. fixed in timsrust-dev rn
sources:
- "src/**/*.rs"
cmds:
- task: bin-build-release
bin-build:
cmds:
- cargo build --bin timsseek
bin-build-release:
deps: [test, fmt]
sources:
- "src/**/*.rs"
cmds:
- cargo b --release --bin timsseek
license_check:
cmds:
- cargo deny check
test:
cmds:
- cargo test
fmt:
cmds:
- cargo +nightly fmt
clippy:
cmds:
- cargo clippy {{.CLI_ARGS}}
plot:
deps: [bin-build-release]
sources:
- "data/*.py"
cmds:
- cargo run --release --bin timsseek | bunyan
- cd data && uv run -p 3.9 plot.py