-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (20 loc) · 676 Bytes
/
Makefile
File metadata and controls
26 lines (20 loc) · 676 Bytes
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
# Some simple testing tasks (sorry, UNIX only).
doc:
cd docs && make html
echo "open file://`pwd`/docs/_build/html/index.html"
cov cover coverage:
py.test --cov=aiomcache --cov-report=html --cov-report=xml --cov-report=term-missing tests
@echo "open file://`pwd`/htmlcov/index.html"
clean:
find . -name __pycache__ |xargs rm -rf
find . -type f -name '*.py[co]' -delete
find . -type f -name '*~' -delete
find . -type f -name '.*~' -delete
find . -type f -name '@*' -delete
find . -type f -name '#*#' -delete
find . -type f -name '*.orig' -delete
find . -type f -name '*.rej' -delete
rm -f .coverage
rm -rf coverage
rm -rf docs/_build
.PHONY: all cov clean