-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
60 lines (34 loc) · 911 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.PHONY: build debug test coverage clean annotate all
PYTHON ?= python
all: build
clean:
rm -rf dist build *.egg-info
find . -name '__pycache__' | xargs rm -rf
rm -rf htmlcov
rm -rf __tnt*
build:
$(PYTHON) setup.py build
test:
PYTHONASYNCIODEBUG=1 $(PYTHON) -m unittest discover -v -s tests
$(PYTHON) -m unittest discover -v -s tests
USE_UVLOOP=1 $(PYTHON) -m unittest discover -v -s tests
quicktest:
$(PYTHON) -m unittest discover -v -s tests
test_16:
TARANTOOL_DOCKER_VERSION=1.6 $(PYTHON) -m unittest discover -s tests
test_17:
TARANTOOL_DOCKER_VERSION=1.7 $(PYTHON) -m unittest discover -s tests
coverage:
# pip install -e .
coverage run run_tests.py
coverage report -m
coverage html
style:
pep8 asynctnt_queue
pep8 tests
sdist: clean build test
$(PYTHON) setup.py sdist
release: clean build test
$(PYTHON) setup.py sdist upload
docs: build
$(MAKE) -C docs html