-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
37 lines (28 loc) · 1.01 KB
/
justfile
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
set positional-arguments := true
alias b := build
alias c := clean
alias d := doc
alias t := test
target := justfile_directory() / "target"
default:
@just --list
@build profile="dev":
cargo build --profile {{ profile }} --workspace --all-features --all-targets
lint:
cargo fmt -q --all --check
cargo clippy -q --all-targets --all-features -- -D warnings
cargo doc -q --no-deps --all-features --document-private-items
cargo outdated -q -R --exit-code=1
cargo hack -q --feature-powerset check
cargo deny --log-level=error check -s
cargo msrv --no-user-output verify
cargo +nightly udeps --workspace --all-features --all-targets
@test profile="dev":
cargo llvm-cov --profile {{ profile }} --workspace --all-features --all-targets
@doc *FLAGS:
cargo doc -q --workspace --no-deps --all-features --document-private-items {{ FLAGS }}
@deps:
cargo depgraph --all-features --all-deps --dedup-transitive-deps \
| dot -Tsvg > {{ target }}/deps.svg
@clean:
rm -rf {{ target }}