.PHONY: test check sync package image-build

IMAGE ?= informed-decision:local

package:
	uv build --wheel

image-build: package
	docker build -f Containerfile -t $(IMAGE) .

test:
	python3 -m pytest -q

# Everything the repo can verify about itself, without network.
check: test
	@python3 -m json.tool schemas/decision-memo.schema.json > /dev/null && echo "schema: valid JSON"

sync:
	statehub fix-consistency
