2024-09-21 19:53:38 +00:00
|
|
|
.PHONY: *
|
|
|
|
|
|
|
|
help: ## display this help
|
|
|
|
@awk 'BEGIN{FS = ":.*##"; printf "\033[1m\nUsage\n \033[1;92m make\033[0;36m <target>\033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } ' $(MAKEFILE_LIST)
|
|
|
|
|
|
|
|
test: ## run pytest
|
|
|
|
python -m pytest
|
2024-09-21 21:41:57 +00:00
|
|
|
|
|
|
|
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
|