forked from lorien/grab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (30 loc) · 910 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
flake:
flake8 grab test setup.py
flake_verbose:
flake8 grab test setup.py --show-pep8
test:
tox -e py27
test_all:
tox -e py27-all,py34-all
coverage_nobackend:
coverage erase
coverage run --source=grab ./runtest.py --test-all
coverage report -m
coverage:
coverage erase
coverage run --source=grab ./runtest.py --test-all --backend-mongo --backend-mysql --backend-redis --backend-postgres
coverage report -m
coverage_missing:
coverage erase
coverage run --source=grab ./runtest.py --test-all --backend-mongo --backend-mysql --backend-redis --backend-postgres
coverage report -m | grep -v '100%' | grep -v Missing | grep -v -- '----' | sort -k 3 -nr
clean:
find -name '*.pyc' -delete
find -name '*.swp' -delete
upload:
python setup.py sdist upload
doc:
sh -c 'cd docs/en; make html'
doc_ru:
sh -c 'cd docs/ru; make html'
.PHONY: all build venv flake test vtest testloop cov clean doc