mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
Makefile: add missing dependency 'contracts' to bench target and rm src/contract/test-harness/*.bin
This commit is contained in:
6
Makefile
6
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user