mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(make): run doctest in make test (#7125)
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
8
Makefile
8
Makefile
@ -303,7 +303,8 @@ lint:
|
||||
make lint-op-reth && \
|
||||
make lint-other-targets
|
||||
|
||||
rustdocs:
|
||||
.PHONY: rustdocs
|
||||
rustdocs: ## Runs `cargo docs` to generate the Rust documents in the `target/doc` directory
|
||||
RUSTDOCFLAGS="\
|
||||
--cfg docsrs \
|
||||
--show-type-layout \
|
||||
@ -340,9 +341,14 @@ test-other-targets:
|
||||
--benches \
|
||||
--all-features
|
||||
|
||||
test-doc:
|
||||
cargo test --doc --workspace --features "ethereum"
|
||||
cargo test --doc --workspace --features "optimism"
|
||||
|
||||
test:
|
||||
make test-reth && \
|
||||
make test-op-reth && \
|
||||
make test-doc && \
|
||||
make test-other-targets
|
||||
|
||||
pr:
|
||||
|
||||
Reference in New Issue
Block a user