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 @@ -305,6 +305,10 @@ setup: setup-taplo setup-wasm ## Setup development environment
305305test : # # Run tests
306306 cargo test
307307
308+ .PHONY : test-doc
309+ test-doc : # # Run documentation tests only
310+ @cargo test --doc
311+
308312.PHONY : test-ledger
309313test-ledger : build-ledger # # Run ledger tests in release mode, requires nightly Rust
310314 @cd ledger && cargo +$(NIGHTLY_RUST_VERSION ) test --release -- -Z unstable-options --report-time
@@ -560,7 +564,7 @@ docs-serve-only: docs-install ## Serve the documentation website locally without
560564 @cd website && npm start -- --port $(DOCS_PORT )
561565
562566.PHONY : docs-rust
563- docs-rust : # # Generate Rust API documentation
567+ docs-rust : test-doc # # Generate Rust API documentation
564568 @echo " Generating Rust API documentation..."
565569 # Using nightly with --enable-index-page to generate workspace index
566570 # See: https://github.com/rust-lang/cargo/issues/8229
You can’t perform that action at this time.
0 commit comments