From b67d2e0db37b9ec8031bf6a8de5286e2c014fd75 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Mon, 4 Jan 2021 12:42:25 +0100 Subject: [PATCH] Add watch.test.% makefile task --- store/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/store/Makefile b/store/Makefile index d3c713e4b..7df8dd62f 100644 --- a/store/Makefile +++ b/store/Makefile @@ -23,6 +23,9 @@ test.cover.store: @ $(GOTOOL) cover @ rm $(COVER_PROFILE) +watch.test.%: $(FSWATCH) + ( make test.$* || exit 0 ) && ( $(FSWATCH) -o . | xargs -n1 -I{} make test.$* ) + watch.codegen: @ make -C ../ $@