yaltik_odoo_custom/yaltik_dsl/Makefile

32 lines
496 B
Makefile

.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:
python2 tests/test_xml_base.py
python2 tests/test_odoo.py
.PHONY: build
build:
coconut -t 2.7 -j sys .
.PHONY: prod
prod:
coconut --notco -t 2.7 -j sys -f .
.PHONY: watch
watch:
coconut --strict -t 2.7 -j sys -w .