-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (29 loc) · 733 Bytes
/
Makefile
File metadata and controls
36 lines (29 loc) · 733 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
27
28
29
30
31
32
33
34
35
36
.PHONY: test unit acceptance style style-verbose docs clean
test:
tox
unit:
py.test -v --cov-report term-missing --cov libtree tests
acceptance:
behave tests/features
style:
flake8 --show-source --ignore=E731 libtree
flake8 --show-source --ignore=E731,F811,F821 tests
style-verbose:
flake8 -v --show-source --ignore=E731 libtree
flake8 -v --show-source --ignore=E731,F811,F821 tests
docs:
make -C docs html
clean:
find . -name '*.pyc' -exec rm -f {} \;
find libtree -name "__pycache__" | xargs rm -rf
find tests -name "__pycache__" | xargs rm -rf
make -C docs clean
rm -f coverage.xml
rm -rf *.egg-info
rm -rf .cache/
rm -rf .eggs/
rm -rf .tox/
rm -rf build/
rm -rf docs/build/
rm -rf dist/
rm -rf junit/