just: Reduce docs commands
`cargo --doc` works from the workspace root, no need to run the docs builds individually.
This commit is contained in:
parent
34d98356cd
commit
bd4f14ee51
7
justfile
7
justfile
|
@ -23,11 +23,8 @@ sane: lint
|
||||||
cargo test --quiet --workspace --all-targets > /dev/null || exit 1
|
cargo test --quiet --workspace --all-targets > /dev/null || exit 1
|
||||||
cargo test --quiet --workspace --all-targets --all-features > /dev/null || exit 1
|
cargo test --quiet --workspace --all-targets --all-features > /dev/null || exit 1
|
||||||
|
|
||||||
# Docs tests (these don't run when testing from workspace root)
|
# doctests don't get run from workspace root with `cargo test`.
|
||||||
cargo test --quiet --manifest-path bitcoin/Cargo.toml --doc > /dev/null || exit 1
|
cargo test --quiet --workspace --doc || exit 1
|
||||||
cargo test --quiet --manifest-path hashes/Cargo.toml --doc > /dev/null || exit 1
|
|
||||||
cargo test --quiet --manifest-path io/Cargo.toml --doc > /dev/null || exit 1
|
|
||||||
cargo test --quiet --manifest-path units/Cargo.toml --doc > /dev/null || exit 1
|
|
||||||
|
|
||||||
# Make an attempt to catch feature gate problems in doctests
|
# Make an attempt to catch feature gate problems in doctests
|
||||||
cargo test --manifest-path bitcoin/Cargo.toml --doc --no-default-features > /dev/null || exit 1
|
cargo test --manifest-path bitcoin/Cargo.toml --doc --no-default-features > /dev/null || exit 1
|
||||||
|
|
Loading…
Reference in New Issue