File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,10 @@ setup-wasm: ## Setup the WebAssembly toolchain, using nightly
291291test : # # Run tests
292292 cargo test
293293
294+ .PHONY : test-doc
295+ test-doc : # # Run documentation tests only
296+ @cargo test --doc
297+
294298.PHONY : test-ledger
295299test-ledger : build-ledger # # Run ledger tests in release mode, requires nightly Rust
296300 @cd ledger && cargo +$(NIGHTLY_RUST_VERSION ) test --release -- -Z unstable-options --report-time
@@ -553,7 +557,7 @@ docs-serve-only: docs-install ## Serve the documentation website locally without
553557 @cd website && npm start -- --port $(DOCS_PORT )
554558
555559.PHONY : docs-rust
556- docs-rust : # # Generate Rust API documentation
560+ docs-rust : test-doc # # Generate Rust API documentation
557561 @echo " Generating Rust API documentation..."
558562 # Using nightly with --enable-index-page to generate workspace index
559563 # See: https://github.com/rust-lang/cargo/issues/8229
You can’t perform that action at this time.
0 commit comments