Debian Codegraph @

Justfile

raw
1 # Print a help message.
2 help:
3 just --list
4
5
6 # Run `cargo hack --feature-powerset` with the given arguments.
7 powerset *args:
8 cargo hack --feature-powerset {{args}}
9
10 # Build docs for crates and direct dependencies
11 rustdoc:
12 @cargo tree --depth 1 -e normal --prefix none --workspace \
13 | gawk '{ gsub(" v", "@", $0); printf("%s\n", $1); }' \
14 | xargs printf -- '-p %s\n' \
15 | RUSTC_BOOTSTRAP=1 RUSTDOCFLAGS='--cfg=doc_cfg' xargs cargo doc --no-deps --lib --all-features
16
17 echo "/ /rustdoc/datatest_stable/ 301" > target/doc/_redirects
18
19 # Generate README.md files using `cargo-sync-rdme`.
20 generate-readmes:
21 cargo sync-rdme --toolchain nightly --all-features
22
23 # Collect coverage, pass in `--html` to get an HTML report
24 coverage *args:
25 cargo +nightly llvm-cov --no-report nextest --all-features
26 cargo +nightly llvm-cov --no-report --doc --all-features
27 cargo +nightly llvm-cov report --doctests {{args}}