ZeroTierOne/Makefile
Erik Hollensbe 112d1be84d
various cleanups to get the full project closer to compiling
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 15:48:27 -07:00

15 lines
317 B
Makefile

all:
clean: FORCE
for i in */Cargo.toml; do cd $$(dirname $$i); cargo clean || exit 1; cd ..; done
test:
for i in */Cargo.toml; do cd $$(dirname $$i); cargo test || exit 1; cd ..; done
fmt:
set extglob; for i in */Cargo.toml; do cd $$(dirname $$i); rustfmt **/*.rs || exit 1; cd ..; done
FORCE:
.PHONY: test