|
|
@@ -30,13 +30,13 @@ $(BINS): token_lists $(BINDEPS)
|
|
|
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) build --all-features --release --package $@
|
|
|
cp -f target/release/$@ $@
|
|
|
|
|
|
-check:
|
|
|
+check: token_lists
|
|
|
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) hack check --release --feature-powerset --all
|
|
|
|
|
|
-fix:
|
|
|
+fix: token_lists:
|
|
|
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) clippy --release --all-features --fix --allow-dirty --all
|
|
|
|
|
|
-clippy:
|
|
|
+clippy: token_lists:
|
|
|
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) clippy --release --all-features --all
|
|
|
|
|
|
# zkas source files which we want to compile for tests
|
|
|
@@ -46,7 +46,7 @@ VM_BIN = $(VM_SRC:=.bin)
|
|
|
$(VM_BIN): zkas $(VM_SRC)
|
|
|
./zkas $(basename $@) -o $@
|
|
|
|
|
|
-test: $(VM_BIN) test-tx
|
|
|
+test: token_lists $(VM_BIN) test-tx
|
|
|
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) test --release --all-features --all
|
|
|
|
|
|
test-tx:
|