From 32dff3cce7f26f66d39d803e854fddcc9b127908 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Sun, 3 May 2020 12:59:30 +0200 Subject: [PATCH] [ADD]Yaltik DSL Makefile --- yaltik_dsl/Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 yaltik_dsl/Makefile diff --git a/yaltik_dsl/Makefile b/yaltik_dsl/Makefile new file mode 100644 index 0000000..033b506 --- /dev/null +++ b/yaltik_dsl/Makefile @@ -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