mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
Clean up proof and testdata directories and move into tests dir.
This commit is contained in:
18
Makefile
18
Makefile
@@ -33,22 +33,18 @@ fix:
|
||||
clippy:
|
||||
$(CARGO) clippy --release --all-features --all
|
||||
|
||||
test: test-vm test-tx
|
||||
$(CARGO) test --release --all-features --all
|
||||
|
||||
test-tx:
|
||||
$(CARGO) run --release --features=node,zkas --example tx
|
||||
|
||||
# zkas source files which we want to compile for tests
|
||||
VM_SRC = proof/arithmetic.zk proof/mint.zk proof/burn.zk
|
||||
VM_BIN = $(VM_SRC:=.bin)
|
||||
|
||||
$(VM_BIN): zkas $(VM_SRC)
|
||||
./zkas $(basename $@) -o $@
|
||||
|
||||
test-vm: $(VM_BIN)
|
||||
$(CARGO) run --release --features=crypto,zkas --example arithmetic
|
||||
$(CARGO) run --release --features=crypto,zkas --example mint
|
||||
$(CARGO) run --release --features=crypto,zkas --example burn
|
||||
test: $(VM_BIN) test-tx
|
||||
$(CARGO) test --release --all-features --all
|
||||
|
||||
test-tx:
|
||||
$(CARGO) run --release --features=node,zkas --example tx
|
||||
|
||||
clean:
|
||||
rm -f $(BINS)
|
||||
@@ -63,4 +59,4 @@ uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/$$i; \
|
||||
done;
|
||||
|
||||
.PHONY: all check fix clippy test test-tx test-vm clean install uninstall
|
||||
.PHONY: all check fix clippy test test-tx clean install uninstall
|
||||
|
||||
Reference in New Issue
Block a user