Skip to content

Commit 5063697

Browse files
committed
Modify Makefile: make rust docs fail on warnings
1 parent 96ce191 commit 5063697

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ DOCKER_ORG ?= openmina
99
# PostgreSQL configuration for archive node
1010
OPEN_ARCHIVE_ADDRESS ?= http://localhost:3007
1111
PG_USER ?= openmina
12-
PG_PW ?= openminaopenmina
13-
PG_DB ?= openmina_archive
12+
PG_PW ?= openminaopenmina
13+
PG_DB ?= openmina_archive
1414
PG_HOST ?= localhost
1515
PG_PORT ?= 5432
1616

@@ -345,7 +345,7 @@ docs-rust: ## Generate Rust API documentation
345345
@echo "Generating Rust API documentation..."
346346
# Using nightly with --enable-index-page to generate workspace index
347347
# See: https://github.com/rust-lang/cargo/issues/8229
348-
@DATABASE_URL="sqlite::memory:" RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --no-deps --document-private-items --workspace --exclude heartbeats-processor --lib --bins
348+
@DATABASE_URL="sqlite::memory:" RUSTDOCFLAGS="--enable-index-page -Zunstable-options -D warnings" cargo +nightly doc --no-deps --document-private-items --workspace --exclude heartbeats-processor --lib --bins
349349
@echo "Rust documentation generated in target/doc/"
350350
@echo "Entry point: target/doc/index.html"
351351

0 commit comments

Comments
 (0)