mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
Makefile: Add "check" target.
This uses https://github.com/taiki-e/cargo-hack
This commit is contained in:
6
Makefile
6
Makefile
@@ -16,8 +16,12 @@ BINDEPS = \
|
||||
$(shell find sql -type f) \
|
||||
$(shell find contrib/token -type f) \
|
||||
|
||||
#all: $(BINS)
|
||||
all: $(BINS)
|
||||
|
||||
check:
|
||||
$(CARGO) hack check --feature-powerset --no-dev-deps
|
||||
|
||||
$(BINS): $(BINDEPS)
|
||||
$(CARGO) build --workspace --release --all-features
|
||||
cp -f target/release/$@ $@
|
||||
@@ -57,4 +61,4 @@ clean:
|
||||
distclean: clean
|
||||
rm -rf target
|
||||
|
||||
.PHONY: all test fix clippy install uninstall clean distclean
|
||||
.PHONY: all check test fix clippy install uninstall clean distclean
|
||||
|
||||
Reference in New Issue
Block a user