thermograph/backend/Makefile
Emi Griffith 6bee541d66 Subtree-merge thermograph-backend origin/dev into backend/ (CI-in-image feature; workflows ported to root)
# Conflicts:
#	backend/.forgejo/workflows/build.yml
#	backend/.forgejo/workflows/deploy.yml
2026-07-22 22:23:50 -07:00

14 lines
491 B
Makefile

# thermograph-backend — local dev/test targets.
.PHONY: help test smoke clean-venv
help: ## List targets
@grep -hE '^[a-z][a-zA-Z0-9_-]*:.*## ' $(MAKEFILE_LIST) | awk -F':.*## ' '{printf " %-14s %s\n", $$1, $$2}'
test: ## Build a py3.12 dev venv and run the hermetic pytest suite (pass ARGS=...)
./scripts/test.sh $(ARGS)
smoke: ## Boot the backend image + a throwaway db and assert /healthz + /api/version
./scripts/smoke.sh
clean-venv: ## Remove the test venv
rm -rf .venv-test