Makefile: add missing dependency 'contracts' to bench target and rm src/contract/test-harness/*.bin

This commit is contained in:
zero
2024-03-28 10:33:05 +01:00
parent 03ca4794eb
commit 79b6276fc8

View File

@@ -140,12 +140,14 @@ 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 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 src/contract/test-harness/*.bin
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) bench --target=$(RUST_TARGET) \
--all-features --workspace \
-- --save-baseline master