-
Notifications
You must be signed in to change notification settings - Fork 237
/
justfile
35 lines (26 loc) · 860 Bytes
/
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
default:
just --summary --unsorted
test $RUST_BACKTRACE="1" *args="":
cargo nextest run --no-fail-fast --all-targets --all-features --workspace --locked \
-E 'not test(/^p2p_network::sync_handlers::tests::prop/)' \
{{args}}
proptest $RUST_BACKTRACE="1" *args="":
cargo nextest run --no-fail-fast --all-targets --all-features --workspace --locked \
-E 'test(/^p2p_network::sync_handlers::tests::prop/)' \
{{args}}
build:
cargo build --workspace --all-targets
check:
cargo check --workspace --all-targets
fmt:
cargo +nightly fmt --all
clippy:
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings -D rust_2018_idioms
dep-sort:
cargo sort --check --workspace
doc:
cargo doc --no-deps --document-private-items
alias b := build
alias t := test
alias c := check
alias f := fmt