32 lines
498 B
Makefile
32 lines
498 B
Makefile
.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
|