.PHONY: setup setup: pip install --user -U coconut[watch,jobs,backports,mypy] .PHONY: testdev testdev: clean build test .PHONY: testprod testprod: clean prod test .PHONY: clean clean: find . -name '*.pyc' -delete find . -name '__pycache__' -delete .PHONY: test test: python3 tests/test_xml_base.py python3 tests/test_odoo.py .PHONY: build build: coconut -t sys -j sys . .PHONY: prod prod: coconut --notco -t 3.9 -j sys -f . .PHONY: watch watch: coconut --strict -t sys -j sys -w .