From c21f55da8d106d9bcbcc098f7e174d4a5f6f97e9 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sat, 21 Sep 2024 14:41:57 -0700 Subject: [PATCH] Add script to reset test sources --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 58ea8aa..90dadb8 100644 --- a/Makefile +++ b/Makefile @@ -5,3 +5,7 @@ help: ## display this help test: ## run pytest python -m pytest + +reset: ## delete all items in tests/ and update each source once + rm -v tests/*/*.item + find tests -name intake.json -printf "%h\n" | cut -c7- | xargs -n 1 python -m intake update -d tests -s