Skip to content

Commit 405311a

Browse files
committed
chore: Update justfile
1 parent 1aeb576 commit 405311a

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

justfile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,23 @@ build:
1414
# Check code: formatting, compilation, linting, doc comments, and commit signature
1515
check:
1616
cargo +nightly fmt --all -- --check
17-
cargo check --all-features --all-targets
17+
@just _check-features
1818
cargo clippy --all-features --all-targets -- -D warnings
19-
RUSTDOCFLAGS="-D warnings" cargo doc --all-features --no-deps
19+
cargo rustdoc --all-features -- -D warnings
2020
@[ "$(git log --pretty='format:%G?' -1 HEAD)" = "N" ] && \
2121
echo "\n⚠️ Unsigned commit: BDK requires that commits be signed." || \
2222
true
2323

24+
# Check feature configurations (matches CI)
25+
_check-features:
26+
cargo check --features "default"
27+
cargo check --no-default-features
28+
cargo check --no-default-features --features "proxy"
29+
cargo check --no-default-features --features "openssl"
30+
cargo check --no-default-features --features "rustls"
31+
cargo check --no-default-features --features "rustls-ring"
32+
cargo check --no-default-features --features "proxy,openssl,rustls,rustls-ring"
33+
2434
# Format all code
2535
fmt:
2636
cargo +nightly fmt

0 commit comments

Comments
 (0)