# Ai Resume - build entry points.
#
# `make validate` is the single gate: it is what CI and deploy.sh call.
# It exits 0 only on a clean content tree.

PYTHON ?= python3
VALIDATOR := $(PYTHON) tools/validate_content.py

.PHONY: validate test help

help:
	@echo "make validate   validate content/** front-matter against the frozen schema"
	@echo "make test       run the validator self-test (fixtures under test/fixtures/)"

validate:
	@$(VALIDATOR)

test:
	@$(VALIDATOR) --self-test
