[ADD]Yaltik DSL Makefile

This commit is contained in:
Fabien BOURGEOIS 2020-05-03 12:59:30 +02:00
parent 212b6dc3d3
commit 32dff3cce7
1 changed files with 31 additions and 0 deletions

31
yaltik_dsl/Makefile Normal file
View File

@ -0,0 +1,31 @@
.PHONY: testprod
testprod: clean prod test
.PHONY: btest
btest: build test
.PHONY: setup
setup:
pip install -U typing coconut[watch,mypy,jobs]
.PHONY: build
build:
coconut --notco --strict -t 2.7 -j sys .
.PHONY: prod
prod:
coconut --notco --strict -t 2.7 -j sys -f .
.PHONY: watch
watch:
coconut --notco --strict -t 2.7 -j sys -w .
.PHONY: clean
clean:
find . -name '*.pyc' -delete
find . -name '__pycache__' -delete
.PHONY: test
test:
python2 test_xml_base.py
python2 test_odoo.py