-
Notifications
You must be signed in to change notification settings - Fork 27
/
justfile
42 lines (36 loc) · 1.51 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
38
39
40
41
42
default: pre-push
install:
cargo install cargo-machete
cargo install cargo-depgraph
cargo install cargo-edit
rustup install nightly-2024-06-30 # used by cargo-check-external-types
cargo install cargo-check-external-types
cargo install git-cliff
cargo install cargo-tarpaulin
cargo install cargo-nextest --locked
pre-push-check:
rustup update
cargo clean
cargo update
cargo machete
cargo fmt --all
# [workaround] removed --all-features due to an issue in one of the dependency in Tantity (zstd-safe)
# [ToDo LQ] Re-enable --all-features once the issue is resolved
# cargo clippy --workspace --all-features --all-targets -- -D warnings --allow deprecated
cargo clippy --workspace --all-targets -- -D warnings --allow deprecated
rm -rf crates/weaver_forge/observed_output/*
cargo nextest run --all
cargo xtask history
# [workaround] removed --all-features due to an issue in one of the dependency in Tantity (zstd-safe)
# [ToDo LQ] Re-enable --all-features once the issue is resolved
# cargo doc --workspace --all-features --no-deps --document-private-items
cargo doc --workspace --no-deps --document-private-items
cargo deny check licenses
pre-push: pre-push-check validate-workspace check-external-types
cargo depgraph --workspace-only --dedup-transitive-deps | dot -Tsvg > docs/images/dependencies.svg
upgrade:
cargo upgrade
validate-workspace:
cargo xtask validate
check-external-types:
scripts/check_external_types.sh