From 95052d7646dcaec28f98b4917a048192ec686fc1 Mon Sep 17 00:00:00 2001 From: skoupidi Date: Thu, 22 Jan 2026 17:36:22 +0200 Subject: [PATCH] Makefile: restore missing contracts compilation in targets --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 530581f5d..0c428645b 100644 --- a/Makefile +++ b/Makefile @@ -135,39 +135,39 @@ fmt: $(CARGO) +nightly fmt --all # cargo install cargo-hack -check: $(PROOFS_BIN) +check: contracts $(PROOFS_BIN) RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) hack check --target=$(RUST_TARGET) \ --release --feature-powerset --workspace -clippy: $(PROOFS_BIN) +clippy: contracts $(PROOFS_BIN) RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) clippy --target=$(RUST_TARGET) \ --release --all-features --workspace --tests -fix: $(PROOFS_BIN) +fix: contracts $(PROOFS_BIN) RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) clippy --target=$(RUST_TARGET) \ --release --all-features --workspace --tests --fix --allow-dirty -rustdoc: $(PROOFS_BIN) +rustdoc: contracts $(PROOFS_BIN) RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) doc --target=$(RUST_TARGET) \ --release --all-features --workspace --document-private-items --no-deps -test: $(PROOFS_BIN) +test: contracts $(PROOFS_BIN) RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) test --target=$(RUST_TARGET) \ --release --all-features --workspace -bench-zk-from-json: $(PROOFS_BIN) +bench-zk-from-json: contracts $(PROOFS_BIN) rm -f src/contract/test-harness/*.bin RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) bench --target=$(RUST_TARGET) \ --bench zk_from_json --all-features --workspace \ -- --save-baseline master -bench: $(PROOFS_BIN) +bench: contracts $(PROOFS_BIN) rm -f src/contract/test-harness/*.bin RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) bench --target=$(RUST_TARGET) \ --all-features --workspace \ -- --save-baseline master -coverage: $(PROOFS_BIN) +coverage: contracts $(PROOFS_BIN) RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) llvm-cov --target=$(RUST_TARGET) \ --release --all-features --workspace --html