mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
Makefile: Add test-no-run target to be able to only compile tests.
This commit is contained in:
7
Makefile
7
Makefile
@@ -72,6 +72,9 @@ rustdoc: token_lists contracts $(PROOFS_BIN)
|
|||||||
test: token_lists $(PROOFS_BIN) contracts
|
test: token_lists $(PROOFS_BIN) contracts
|
||||||
$(CARGO) test --release --all-features --all
|
$(CARGO) test --release --all-features --all
|
||||||
|
|
||||||
|
test-no-run: token_lists $(PROOFS_BIN) contracts
|
||||||
|
$(CARGO) test --release --all-features --all --no-run
|
||||||
|
|
||||||
coverage: token_lists contracts $(PROOFS_BIN)
|
coverage: token_lists contracts $(PROOFS_BIN)
|
||||||
$(CARGO) llvm-cov --release --all-features --workspace --html
|
$(CARGO) llvm-cov --release --all-features --workspace --html
|
||||||
|
|
||||||
@@ -100,4 +103,6 @@ uninstall:
|
|||||||
rm -f $(DESTDIR)$(PREFIX)/bin/$$i; \
|
rm -f $(DESTDIR)$(PREFIX)/bin/$$i; \
|
||||||
done;
|
done;
|
||||||
|
|
||||||
.PHONY: all contracts token_lists check fix clippy rustdoc test cleanbin clean install uninstall coverage
|
.PHONY: \
|
||||||
|
all contracts token_lists check fix clippy rustdoc test test-no-run \
|
||||||
|
cleanbin clean install uninstall coverage
|
||||||
|
|||||||
Reference in New Issue
Block a user