# Checks for the declarative chart and diagram SVG pack's code: standard library only, warnings are errors.
PYTHON ?= python3

.PHONY: check test compile

check: compile test

compile:
	$(PYTHON) -W error -m compileall -q diagram_svg tests

test:
	$(PYTHON) -W error -m unittest discover -s tests -v
