Add script to reset test sources
This commit is contained in:
parent
4abb281715
commit
c21f55da8d
4
Makefile
4
Makefile
|
@ -5,3 +5,7 @@ help: ## display this help
|
||||||
|
|
||||||
test: ## run pytest
|
test: ## run pytest
|
||||||
python -m 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
|
||||||
|
|
Loading…
Reference in New Issue